void-packages/srcpkgs/chessx/template

24 lines
730 B
Bash
Raw Normal View History

2017-02-04 17:37:39 +00:00
# Template file for 'chessx'
pkgname=chessx
2017-05-07 16:58:18 +00:00
version=1.4.6
2017-02-04 17:37:39 +00:00
revision=1
build_style=qmake
2017-05-07 16:58:18 +00:00
hostmakedepends="qt5-tools"
makedepends="qt5-multimedia-devel qt5-svg-devel pulseaudio-devel"
2017-02-04 17:37:39 +00:00
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"
2017-05-07 16:58:18 +00:00
checksum=ad951910a3bd53f5655f9e85101e7969b536078473e09a2a7dded6ef171a68ed
2017-02-04 17:37:39 +00:00
if [ -n "$CROSS_BUILD" ]; then
2017-05-07 16:58:18 +00:00
hostmakedepends+=" qt5-host-tools qt5-multimedia-devel qt5-svg-devel"
2017-02-04 17:37:39 +00:00
fi
do_install() {
vinstall unix/${pkgname}.desktop 644 usr/share/applications
vinstall data/images/${pkgname}.png 644 usr/share/pixmaps
vbin release/${pkgname}
}