Merge pull request #5676 from cipr3s/chessx

New package: chessx-1.4.0
This commit is contained in:
Toyam Cox 2017-02-04 23:15:06 -05:00 committed by GitHub
commit 646c3f7e8b

23
srcpkgs/chessx/template Normal file
View file

@ -0,0 +1,23 @@
# Template file for 'chessx'
pkgname=chessx
version=1.4.0
revision=1
build_style=qmake
hostmakedepends="qt5-qmake qt5-tools qt5-host-tools"
makedepends="qt5-devel qt5-multimedia-devel qt5-svg-devel"
short_desc="An Open Source chess database"
maintainer="cipr3s <cipr3s@gmx.com>"
license="GPL-2"
homepage="http://chessx.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tgz"
checksum="e4287235904810a0a1b2cdec3dc33fbc30aa0657c7b7343bd2130bd9626220f4"
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-tools-devel qt5-multimedia-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}
}