void-packages/srcpkgs/chessx/template

24 lines
768 B
Bash

# Template file for 'chessx'
pkgname=chessx
version=1.5.4
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=e2dbacff2a6c055cfbe4ce0344331f77262867e228a5fe2895e6c242772065a8
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}
}