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

Ray Rashif schiv at archlinux.org
Mon Aug 31 20:23:44 UTC 2015


    Date: Monday, August 31, 2015 @ 22:23:43
  Author: schiv
Revision: 245122

upgpkg: aubio 0.4.2-1

upstream release

Modified:
  aubio/trunk/PKGBUILD

----------+
 PKGBUILD |   17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-08-31 20:14:12 UTC (rev 245121)
+++ PKGBUILD	2015-08-31 20:23:43 UTC (rev 245122)
@@ -4,17 +4,17 @@
 # Contributor: see .contrib
 
 pkgname=aubio
-pkgver=0.4.1
-pkgrel=3
+pkgver=0.4.2
+pkgrel=1
 pkgdesc="A tool for extracting annotations from audio signals"
 arch=('i686' 'x86_64')
 url="http://aubio.org/"
 license=('GPL')
 depends=('fftw' 'jack' 'ffmpeg')
-makedepends=('python2-numpy')
+makedepends=('python2-numpy' 'python2-setuptools')
 optdepends=('python2-numpy: Python 2.x interface')
 source=("http://aubio.org/pub/$pkgname-$pkgver.tar.bz2")
-md5sums=('ffe7d24f6bd8e9053aeaba6c0231efb0')
+md5sums=('c0f6d8355e92669722501c3a762ba548')
 
 prepare() {
   cd "$srcdir/$pkgname-$pkgver"
@@ -21,15 +21,15 @@
 
   # python2 compat (for python interface)
   sed -i 's:bin/env python:bin/env python2:' \
-    "$srcdir/$pkgname-$pkgver/python/lib/aubio/__init__.py"
+      "$srcdir/$pkgname-$pkgver/python/lib/aubio/__init__.py"
 }
 
 build() {
   cd "$srcdir/$pkgname-$pkgver"
 
-  python2 waf configure --prefix=/usr --enable-fftw3f
+  python2 waf configure --prefix=/usr --enable-fftw3f --libdir=/usr/lib
   python2 waf build $MAKEFLAGS
-  cd python && python2 setup.py build # python interface
+  (cd python && python2 setup.py build) # python interface
 }
 
 package() {
@@ -38,8 +38,7 @@
   python2 waf --destdir="$pkgdir" install
 
   # python interface
-  cd python || return 1
-  python2 setup.py install --root="$pkgdir" --optimize=1
+  (cd python && python2 setup.py install --root="$pkgdir" --optimize=1)
 }
 
 # vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list