[arch-commits] Commit in streamtuner/trunk (PKGBUILD)

andyrtr at archlinux.org andyrtr at archlinux.org
Mon Oct 4 18:10:33 UTC 2010


    Date: Monday, October 4, 2010 @ 14:10:32
  Author: andyrtr
Revision: 94130

upgpkg: streamtuner 0.99.99-11
python27 rebuild

Modified:
  streamtuner/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-10-04 18:04:49 UTC (rev 94129)
+++ PKGBUILD	2010-10-04 18:10:32 UTC (rev 94130)
@@ -4,7 +4,7 @@
 
 pkgname=streamtuner
 pkgver=0.99.99
-pkgrel=10
+pkgrel=11
 pkgdesc="A stream directory browser"
 arch=('i686' 'x86_64')
 url="http://www.nongnu.org/streamtuner/"
@@ -32,8 +32,16 @@
   patch -p0 -i ${srcdir}/streamtuner-0.99.99-shoutcast.diff || return 1
   # fix http://bugs.archlinux.org/task/11463
   patch -p1 -i ${srcdir}/shoutcast-redesign-patch.diff || return 1
+  
+  # python2 fixes
+  sed -i "s:^for ac_prog in python:for ac_prog in python2:" ${srcdir}/${pkgname}-${pkgver}/configure
+  
   ./configure --prefix=/usr
-  make || return 1
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
   make prefix=${pkgdir}/usr install
 
   #Add license file




More information about the arch-commits mailing list