summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6928d3989b7b9b6dadb8c1ec4abc0166ef4cbcf1 (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
# Contributor: Tim Langlois <trl54@cornell.edu>
# Maintainer: Sebastian Wolf <swolf at melonkru dot de>
basename=wavefile
pkgname=python2-${basename}
pkgver=1.5
pkgrel=1
arch=('any')
license=('GPL3')
pkgdesc="Pythonic libsndfile wrapper to read and write audio files. For Python2."
url="https://github.com/vokimon/python-wavefile"
makedepends=('python2-setuptools')
depends=('python2-numpy')
optdepends=('python2-pyaudio')
source=("https://pypi.python.org/packages/source/w/${basename}/${basename}-${pkgver}.tar.gz")
md5sums=('b5d71713b4fded3c9350cbf61a51a9a1')

build() {
    cd "${srcdir}/${basename}-${pkgver}"
    python2 setup.py build
}

package() {
    cd "${srcdir}/${basename}-${pkgver}"
    python2 setup.py install --root="${pkgdir}" --optimize=1
}