void-packages/srcpkgs/pysolfc/template
2020-01-14 12:20:45 +01:00

25 lines
799 B
Bash

# Template file for 'pysolfc'
pkgname=pysolfc
version=2.6.4
revision=3
archs="noarch"
wrksrc="PySolFC-${pkgname}-${version}"
build_style=python3-module
pycompile_module=pysollib
hostmakedepends="gettext python3-pygame python3-random2 python3-six
python3-tkinter python3-Pillow"
depends="pysolfc-cardsets ${hostmakedepends}"
short_desc="Python solitaire game collection"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-3.0"
homepage="http://pysolfc.sourceforge.net/"
distfiles="https://github.com/shlomif/PySolFC/archive/${pkgname}-${version}.tar.gz"
checksum=e80fad1bf1173373bbe273f226ab908029e91e394b694a615fd34847ecaa299f
post_build() {
make mo rules
}
post_install() {
mv ${DESTDIR}/usr/bin/pysol{.py,}
sed -i "s|pysol.py|pysol|g" ${DESTDIR}/usr/share/applications/pysol.desktop
}