void-packages/srcpkgs/pysolfc/template
2017-05-22 20:40:40 +00:00

21 lines
652 B
Bash

# Template file for 'pysolfc'
pkgname=pysolfc
version=2.0
revision=3
noarch=yes
wrksrc="PySolFC-${version}"
build_style=python2-module
pycompile_module=pysollib
hostmakedepends="python"
depends="python-tkinter python-pygame"
short_desc="A Python solitaire game collection"
maintainer="Orphaned <orphan@voidlinux.eu>"
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
}