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

Rémy Oudompheng remy at archlinux.org
Sun Aug 29 12:44:29 EDT 2010


    Date: Sunday, August 29, 2010 @ 12:44:28
  Author: remy
Revision: 89164

upgpkg: pyogg 1.3-6
Rebuild for python2.

Modified:
  pyogg/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-08-29 16:36:33 UTC (rev 89163)
+++ PKGBUILD	2010-08-29 16:44:28 UTC (rev 89164)
@@ -4,18 +4,22 @@
 
 pkgname=pyogg
 pkgver=1.3
-pkgrel=5
+pkgrel=6
 pkgdesc="Python ogg wrapper library"
 arch=('i686' 'x86_64')
 url="http://ekyo.nerim.net/software/pyogg/index.html"
 license=('LGPL2')
-depends=('python>=2.5' 'libogg' 'glibc')
+depends=('python2' 'libogg' 'glibc')
 source=(http://ekyo.nerim.net/software/pyogg/$pkgname-$pkgver.tar.gz)
 md5sums=('45a4ecc4d0600661199e4040a81ea3fe')
 sha1sums=('2811ad401e3b5fc5025958bddab3d7b8775e5acd')
 
 build() {
-  cd $startdir/src/$pkgname-$pkgver
-  ./config_unix.py --prefix=$startdir/pkg/usr
-  python setup.py install --prefix=$startdir/pkg/usr
+  cd $srcdir/$pkgname-$pkgver
+  python2 ./config_unix.py --prefix=$pkgdir/usr
 }
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+  python2 setup.py install --prefix=$pkgdir/usr
+}



More information about the arch-commits mailing list