void-packages/srcpkgs/pysolfc/template

22 lines
697 B
Bash

# Template file for 'pysolfc'
pkgname=pysolfc
version=2.1.2
revision=3
noarch=yes
wrksrc="PySolFC-${version}"
build_style=python2-module
pycompile_module=pysollib
hostmakedepends="python"
depends="python-tkinter python-pygame python-six python-random2 pysolfc-cardsets"
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=3f88052647479c01431f320f2601eaa4b7b7ccd52502f4ffdb387d7bd73365c7
post_install() {
mv ${DESTDIR}/usr/bin/pysol{.py,}
sed -i "s|pysol.py|pysol|g" ${DESTDIR}/usr/share/applications/pysol.desktop
}