mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
pysolfc: enable sound
This commit is contained in:
parent
2ebd09742e
commit
14e9bc5703
1 changed files with 2 additions and 6 deletions
|
@ -1,13 +1,13 @@
|
||||||
# Template file for 'pysolfc'
|
# Template file for 'pysolfc'
|
||||||
pkgname=pysolfc
|
pkgname=pysolfc
|
||||||
version=2.0
|
version=2.0
|
||||||
revision=2
|
revision=3
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="PySolFC-${version}"
|
wrksrc="PySolFC-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
pycompile_module=pysollib
|
pycompile_module=pysollib
|
||||||
hostmakedepends="python"
|
hostmakedepends="python"
|
||||||
depends="python-tkinter"
|
depends="python-tkinter python-pygame"
|
||||||
short_desc="A Python solitaire game collection"
|
short_desc="A Python solitaire game collection"
|
||||||
maintainer="Michael Gehring <mg@ebfe.org>"
|
maintainer="Michael Gehring <mg@ebfe.org>"
|
||||||
license="GPL-3"
|
license="GPL-3"
|
||||||
|
@ -15,10 +15,6 @@ homepage="http://pysolfc.sourceforge.net/"
|
||||||
distfiles="${SOURCEFORGE_SITE}/${pkgname}/PySolFC-${version}.tar.bz2"
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/PySolFC-${version}.tar.bz2"
|
||||||
checksum=dbcb8e7e6d0479c230745a2be91c0c9b9e8524407cd2075f2dae144e5d441b6c
|
checksum=dbcb8e7e6d0479c230745a2be91c0c9b9e8524407cd2075f2dae144e5d441b6c
|
||||||
|
|
||||||
pre_build() {
|
|
||||||
sed -i "s|SOUND_MOD = 'auto'|SOUND_MOD = 'none'|g" pysollib/settings.py
|
|
||||||
}
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
mv ${DESTDIR}/usr/bin/pysol{.py,}
|
mv ${DESTDIR}/usr/bin/pysol{.py,}
|
||||||
sed -i "s|pysol.py|pysol|g" ${DESTDIR}/usr/share/applications/pysol.desktop
|
sed -i "s|pysol.py|pysol|g" ${DESTDIR}/usr/share/applications/pysol.desktop
|
||||||
|
|
Loading…
Add table
Reference in a new issue