From 14e9bc5703b676599a8b27a82edcf2347b7491fb Mon Sep 17 00:00:00 2001 From: Styrsven Date: Fri, 14 Oct 2016 18:15:35 +0200 Subject: [PATCH] pysolfc: enable sound --- srcpkgs/pysolfc/template | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/srcpkgs/pysolfc/template b/srcpkgs/pysolfc/template index 2f4cc23c827..87d1f786f87 100644 --- a/srcpkgs/pysolfc/template +++ b/srcpkgs/pysolfc/template @@ -1,13 +1,13 @@ # Template file for 'pysolfc' pkgname=pysolfc version=2.0 -revision=2 +revision=3 noarch=yes wrksrc="PySolFC-${version}" build_style=python-module pycompile_module=pysollib hostmakedepends="python" -depends="python-tkinter" +depends="python-tkinter python-pygame" short_desc="A Python solitaire game collection" maintainer="Michael Gehring " license="GPL-3" @@ -15,10 +15,6 @@ 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