void-packages/srcpkgs/pysolfc/template
2019-03-04 10:14:39 +01:00

24 lines
774 B
Bash

# Template file for 'pysolfc'
pkgname=pysolfc
version=2.6.2
revision=1
arch="noarch"
wrksrc="PySolFC-${pkgname}-${version}"
build_style=python3-module
pycompile_module=pysollib
hostmakedepends="python3-pygame python3-random2 python3-six python3-tkinter"
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=da59012637d4f891c9390e105c0e0eb6a3c8e452933905dc939646107dad80bd
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
}