# Template file for 'chessx'
pkgname=chessx
version=1.6.10
revision=1
build_style=qmake
hostmakedepends="qt5-tools qt5-qmake qt5-host-tools"
makedepends="qt5-multimedia-devel qt5-svg-devel qt5-speech-devel pulseaudio-devel"
short_desc="Open Source chess database"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="https://chessx.sourceforge.io"
changelog="https://raw.githubusercontent.com/Isarhamster/chessx/refs/heads/master/ChangeLog.md"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tgz"
checksum=77c6ef3f89d8c3ea137a5f4bb0dcd83b261046facbde06eaee223437ad1c732f

do_install() {
	vinstall unix/${pkgname}.desktop 644 usr/share/applications
	vinstall data/images/${pkgname}.png 644 usr/share/pixmaps
	vbin release/${pkgname}
}
