vp-build/srcpkgs/chessx/template

24 lines
727 B
Bash

# Template file for 'chessx'
pkgname=chessx
version=1.5.0
revision=1
build_style=qmake
hostmakedepends="qt5-tools"
makedepends="qt5-multimedia-devel qt5-svg-devel pulseaudio-devel"
short_desc="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=d130ad3220821da9ea19e7228222a5528fabca3ca06bc41b4d7f702454f63827
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools 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}
}