void-packages/srcpkgs/pysolfc/template

22 lines
651 B
Bash
Raw Normal View History

2016-01-24 23:22:28 +00:00
# Template file for 'pysolfc'
pkgname=pysolfc
version=2.0
2016-10-14 16:15:35 +00:00
revision=3
2016-03-02 20:15:15 +00:00
noarch=yes
2016-01-24 23:22:28 +00:00
wrksrc="PySolFC-${version}"
2016-10-17 02:22:38 +00:00
build_style=python2-module
2016-01-24 23:22:28 +00:00
pycompile_module=pysollib
hostmakedepends="python"
2016-10-14 16:15:35 +00:00
depends="python-tkinter python-pygame"
2016-01-24 23:22:28 +00:00
short_desc="A Python solitaire game collection"
maintainer="Michael Gehring <mg@ebfe.org>"
license="GPL-3"
homepage="http://pysolfc.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/PySolFC-${version}.tar.bz2"
checksum=dbcb8e7e6d0479c230745a2be91c0c9b9e8524407cd2075f2dae144e5d441b6c
post_install() {
mv ${DESTDIR}/usr/bin/pysol{.py,}
sed -i "s|pysol.py|pysol|g" ${DESTDIR}/usr/share/applications/pysol.desktop
}