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

David Runge dvzrv at archlinux.org
Thu Apr 19 22:33:23 UTC 2018


    Date: Thursday, April 19, 2018 @ 22:33:22
  Author: dvzrv
Revision: 317077

upgpkg: aubio 0.4.6-4

Adding python{,2}-setuptools to depends (entry_points defined in setup.py). Removing redundant libsndfile. Minor fixes.

Modified:
  aubio/trunk/PKGBUILD

----------+
 PKGBUILD |   33 +++++++++++++++++----------------
 1 file changed, 17 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-04-19 22:31:56 UTC (rev 317076)
+++ PKGBUILD	2018-04-19 22:33:22 UTC (rev 317077)
@@ -1,12 +1,13 @@
 # $Id$
 # Maintainer: David Runge <dave at sleepmap.de>
-# Maintainer: Ray Rashif <schiv at archlinux.org>
+# Contributor: Ray Rashif <schiv at archlinux.org>
 # Contributor: Tobias Kieslich tobias [funnychar] archlinux org
 
 pkgbase=aubio
 pkgname=('aubio' 'python-aubio' 'python2-aubio')
 pkgver=0.4.6
-pkgrel=3
+pkgrel=4
+pkgdesc="A tool for extracting annotations from audio signals"
 arch=('x86_64')
 url="https://aubio.org/"
 license=('GPL3')
@@ -53,40 +54,40 @@
 
 package_aubio() {
   pkgdesc="A tool for extracting annotations from audio signals"
-  depends=('ffmpeg' 'fftw' 'jack' 'libsamplerate' 'libsndfile')
+  depends=('ffmpeg' 'fftw' 'jack' 'libsamplerate')
   optdepends=('python2-numpy: Python 2.x interface'
               'python-numpy: Python 3.x interface')
-  cd "${pkgname[0]}-${pkgver}"
+  cd "${pkgname}-${pkgver}"
   python2 waf --destdir="${pkgdir}" install
   # move doc, as waf configure doesn't honor the htmldir and docdir settings
-  mv -v "${pkgdir}/usr/share/doc/lib${pkgname[0]}-doc" \
-    "${pkgdir}/usr/share/doc/${pkgname[0]}"
-  install -t "${pkgdir}/usr/share/doc/${pkgname[0]}/" \
-    -vDm644 {AUTHORS,ChangeLog,README.md}
+  mv -v "${pkgdir}/usr/share/doc/lib${pkgname}-doc" \
+    "${pkgdir}/usr/share/doc/${pkgname}"
+  install -t "${pkgdir}/usr/share/doc/${pkgname}/" \
+    -vDm 644 {AUTHORS,ChangeLog,README.md}
 }
 
 package_python-aubio() {
   pkgdesc="Python 3.x bindings for aubio."
-  depends=('aubio' 'python-numpy')
-  cd "${pkgname[1]}-${pkgver}"
+  depends=('aubio' 'python-numpy' 'python-setuptools')
+  cd "${pkgname}-${pkgver}"
   python setup.py install --skip-build \
     --optimize=1 \
     --prefix=/usr \
     --root="${pkgdir}"
-  install -t "${pkgdir}/usr/share/doc/${pkgname[1]}/" \
-    -vDm644 {AUTHORS,ChangeLog,README.md}
+  install -t "${pkgdir}/usr/share/doc/${pkgname}/" \
+    -vDm 644 {AUTHORS,ChangeLog,README.md}
 }
 
 package_python2-aubio() {
   pkgdesc="Python 2.x bindings for aubio."
-  depends=('aubio' 'python2-numpy')
-  cd "${pkgname[2]}-${pkgver}"
+  depends=('aubio' 'python2-numpy' 'python2-setuptools')
+  cd "${pkgname}-${pkgver}"
   python2 setup.py install --skip-build \
     --optimize=1 \
     --prefix=/usr \
     --root="${pkgdir}"
-  install -t "${pkgdir}/usr/share/doc/${pkgname[1]}/" \
-    -vDm644 {AUTHORS,ChangeLog,README.md}
+  install -t "${pkgdir}/usr/share/doc/${pkgname}/" \
+    -vDm 644 {AUTHORS,ChangeLog,README.md}
   # move duplicates
   mv -v ${pkgdir}/usr/bin/aubio ${pkgdir}/usr/bin/aubio2
   mv -v ${pkgdir}/usr/bin/aubiocut ${pkgdir}/usr/bin/aubiocut2



More information about the arch-commits mailing list