void-packages/srcpkgs/q5go/template

20 lines
772 B
Bash

# Template file for 'q5go'
pkgname=q5go
version=2.1.3
revision=1
build_style=qmake
configure_args="src/q5go.pro"
hostmakedepends="qt5-qmake qt5-host-tools"
makedepends="qt5-multimedia-devel qt5-svg-devel"
short_desc="Qt5 Go/Weiqi/Baduk client modernized from qGo"
maintainer="Jason Manley <jason@jasondavid.tv>"
license="GPL-3.0-or-later"
homepage="https://github.com/bernds/q5Go"
distfiles="https://github.com/bernds/q5Go/archive/refs/tags/${pkgname}-${version}.tar.gz"
checksum=bffab6641acedf20b73f3429c60ef560942ffea27527aaa3a9a9c722b41f0791
post_install() {
qmake -install qinstall "${wrksrc}/src/images/Bowl.ico" "${DESTDIR}/usr/share/q5go/pics/Bowl.ico"
qmake -install qinstall "${wrksrc}/templates/qgo.desktop" "${DESTDIR}/usr/share/applications/q5go.desktop"
}