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

Pierre Schmitz pierre at archlinux.org
Sat Feb 18 09:43:09 EST 2012


    Date: Saturday, February 18, 2012 @ 09:43:09
  Author: pierre
Revision: 150561

upgpkg: pymad 0.6-4

rebuild old package

Modified:
  pymad/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-18 14:41:13 UTC (rev 150560)
+++ PKGBUILD	2012-02-18 14:43:09 UTC (rev 150561)
@@ -1,19 +1,24 @@
 # $Id$
 # Maintainer: Mark Rosenstand <mark at archlinux.org
 # Contributor: Corrado Primier <cp663137 at stud.polimi.it>
+
 pkgname=pymad
 pkgver=0.6
-pkgrel=3
+pkgrel=4
 pkgdesc="Python interface to libmad."
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
 url="http://www.spacepants.org/src/pymad/"
 license=('LGPL')
 depends=('libmad' 'python2')
-source=(http://www.spacepants.org/src/pymad/download/$pkgname-$pkgver.tar.gz)
+source=("http://www.spacepants.org/src/pymad/download/$pkgname-$pkgver.tar.gz")
 md5sums=('a1405fb4b610348565c8d0e400c5ff18')
 
 build() {
-  cd $startdir/src/$pkgname-$pkgver
+  cd $srcdir/$pkgname-$pkgver
   python2 config_unix.py --prefix=/usr
-  python2 setup.py install --root=$startdir/pkg
 }
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+  python2 setup.py install --root=$pkgdir
+}



More information about the arch-commits mailing list