summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8a7adca5bae0b17777e357e322fc72d6020f957f (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
# Maintainer: Tim Langlois <trl54@cornell.edu>

_basename=wavefile
pkgname=python-${_basename}
pkgver=1.5
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' 'libsndfile')
optdepends=('python-pyaudio')
source=("https://pypi.python.org/packages/source/w/${_basename}/${_basename}-${pkgver}.tar.gz")
md5sums=('b5d71713b4fded3c9350cbf61a51a9a1')

build() {
    cd "${srcdir}/${_basename}-${pkgver}"
    python setup.py build
}

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