blob: 69a66510a5ebd8e8073e202401c13b80f1bd71e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# $Id: PKGBUILD 204700 2014-01-25 13:01:02Z schiv $
# Maintainer: Ray Rashif <schiv@archlinux.org>
# Contributor: Tobias Kieslich tobias [funnychar] archlinux org
# Contributor: see .contrib
pkgname=aubio
pkgver=0.4.0
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')
optdepends=('python2-numpy: Python 2.x interface')
source=("http://aubio.org/pub/$pkgname-$pkgver.tar.bz2")
md5sums=('8de88baab79f7eec8e1c7f321c4026af')
build() {
cd "$srcdir/$pkgname-$pkgver"
python2 waf configure --prefix=/usr --enable-fftw3f
python2 waf build $MAKEFLAGS
cd python; python2 setup.py build # python interface
}
package() {
cd "$srcdir/$pkgname-$pkgver"
python2 waf --destdir="$pkgdir" install
# python interface
cd python
python2 setup.py install --root="$pkgdir" --optimize=1
# python2 compat
sed -i 's:bin/env python:bin/env python2:' \
"$pkgdir/usr/lib/python2.7/site-packages/aubio/__init__.py"
}
|