author | David Runge
<dvzrv@archlinux.org> 2021-09-21 20:18:24 UTC |
committer | David Runge
<dvzrv@archlinux.org> 2021-09-21 20:18:24 UTC |
parent | 31705c44959b01a14a7e7bf37733a9437f8ad4ef |
PKGBUILD | +6 | -5 |
diff --git a/PKGBUILD b/PKGBUILD index 9b42e4b..ede8d7c 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,7 +5,7 @@ pkgbase=aubio pkgname=('aubio' 'python-aubio') pkgver=0.4.9 -pkgrel=9 +pkgrel=10 pkgdesc="A tool for extracting annotations from audio signals" arch=('x86_64') url="https://aubio.org/" @@ -24,6 +24,7 @@ prepare() { build() { cd "${pkgbase}-${pkgver}" + export LINKFLAGS="$LDFLAGS" waf configure --prefix=/usr \ --alltests \ --enable-fftw3 \ @@ -48,6 +49,7 @@ package_aubio() { optdepends=('python-aubio: Python bindings') provides=('libaubio.so') groups=('pro-audio') + cd "${pkgname}-${pkgver}" waf --destdir="${pkgdir}" install # move doc, as waf configure doesn't honor the htmldir and docdir settings @@ -59,11 +61,10 @@ package_aubio() { package_python-aubio() { pkgdesc="Python bindings for aubio" - depends=('glibc' 'libaubio.so' 'python-numpy' 'python-setuptools') + depends=('glibc' 'libaubio.so' 'python-numpy') + cd "${pkgbase}-${pkgver}" - python setup.py install --skip-build \ - --optimize=1 \ - --root="${pkgdir}" + python setup.py install --optimize=1 --root="${pkgdir}" install -vDm 644 {AUTHORS,ChangeLog,README.md} \ -t "${pkgdir}/usr/share/doc/${pkgname}/" }