archrelease: copy trunk to community-any
[ArchLinux/community.git] / simplespectral / trunk / PKGBUILD
blobd6494c85745861d25e1ca0b5327bbf5bdcd203ba
1 # Maintainer: Filipe LaĆ­ns (FFY00) <lains@archlinux.org>
2 # Contributor: Michal Krenek (Mikos) <m.krenek@gmail.com>
4 pkgname=simplespectral
5 pkgver=1.0.0
6 pkgrel=4
7 pkgdesc="Heavily simplified scipy.signal.spectral module"
8 arch=('any')
9 url="https://github.com/xmikos/simplespectral"
10 license=('MIT')
11 depends=('python' 'python-numpy')
12 makedepends=('python-setuptools')
13 optdepends=('python-scipy: faster FFT calculations with scipy.fftpack library')
14 source=("$pkgname-$pkgver.tar.gz::https://github.com/xmikos/simplespectral/archive/v$pkgver.tar.gz")
15 sha256sums=('4342741f7054c71f7c5fb9d38df49e048e0a4e20eb53cefd247e47937644cad0')
17 build() {
18   cd "$srcdir"/$pkgname-$pkgver
19   python setup.py build
22 package() {
23   cd "$srcdir"/$pkgname-$pkgver
24   python setup.py install --root="$pkgdir"
26   install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE