summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorTim Langlois2017-06-01 16:53:33 -0700
committerTim Langlois2017-06-01 16:53:33 -0700
commitcd3d9198b2614f67d6999070cb24efc37943c3e1 (patch)
tree2bd6728a994913298b6a77216ca9a41c35d3d0e1 /PKGBUILD
parente7c90b19ea56f1f27f7b4ffb892cbf2bd71c9146 (diff)
downloadaur-python-wavefile.tar.gz
added libsndfile as dependency, change basename -> _basename
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD14
1 files changed, 7 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b2ae58e5d71..8a7adca5bae 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,25 +1,25 @@
# Maintainer: Tim Langlois <trl54@cornell.edu>
-basename=wavefile
-pkgname=python-${basename}
+_basename=wavefile
+pkgname=python-${_basename}
pkgver=1.5
-pkgrel=1
+pkgrel=2
arch=('any')
license=('GPL3')
pkgdesc="Pythonic libsndfile wrapper to read and write audio files."
url="https://github.com/vokimon/python-wavefile"
makedepends=('python-setuptools')
-depends=('python-numpy')
+depends=('python-numpy' 'libsndfile')
optdepends=('python-pyaudio')
-source=("https://pypi.python.org/packages/source/w/${basename}/${basename}-${pkgver}.tar.gz")
+source=("https://pypi.python.org/packages/source/w/${_basename}/${_basename}-${pkgver}.tar.gz")
md5sums=('b5d71713b4fded3c9350cbf61a51a9a1')
build() {
- cd "${srcdir}/${basename}-${pkgver}"
+ cd "${srcdir}/${_basename}-${pkgver}"
python setup.py build
}
package() {
- cd "${srcdir}/${basename}-${pkgver}"
+ cd "${srcdir}/${_basename}-${pkgver}"
python setup.py install --root="${pkgdir}" --optimize=1
}