23 lines
768 B
Bash
23 lines
768 B
Bash
# Template file for 'chessx'
|
|
pkgname=chessx
|
|
version=1.5.6
|
|
revision=1
|
|
build_style=qmake
|
|
hostmakedepends="qt5-tools"
|
|
makedepends="qt5-multimedia-devel qt5-svg-devel qt5-speech-devel pulseaudio-devel"
|
|
short_desc="Open Source chess database"
|
|
maintainer="cipr3s <cipr3s@gmx.com>"
|
|
license="GPL-2.0-only"
|
|
homepage="https://chessx.sourceforge.io"
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tgz"
|
|
checksum=d09a4b534a909c5f1a398c64065049a2fdf30497bc81ccbdf0d940412364d205
|
|
|
|
if [ -n "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt5-host-tools qt5-multimedia-devel qt5-speech-devel qt5-svg-devel"
|
|
fi
|
|
|
|
do_install() {
|
|
vinstall unix/${pkgname}.desktop 644 usr/share/applications
|
|
vinstall data/images/${pkgname}.png 644 usr/share/pixmaps
|
|
vbin release/${pkgname}
|
|
}
|