Merge pull request #3450 from ebfe/pysol

New package: pysolfc-2.0
This commit is contained in:
Juan RP 2016-01-27 07:44:28 +01:00
commit e36f121006

25
srcpkgs/pysolfc/template Normal file
View file

@ -0,0 +1,25 @@
# Template file for 'pysolfc'
pkgname=pysolfc
version=2.0
revision=1
wrksrc="PySolFC-${version}"
build_style=python-module
pycompile_module=pysollib
noarch=yes
hostmakedepends="python"
depends="python python-tkinter"
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
pre_build() {
sed -i "s|SOUND_MOD = 'auto'|SOUND_MOD = 'none'|g" pysollib/settings.py
}
post_install() {
mv ${DESTDIR}/usr/bin/pysol{.py,}
sed -i "s|pysol.py|pysol|g" ${DESTDIR}/usr/share/applications/pysol.desktop
}