[arch-commits] Commit in simplespectral/repos (community-any community-any/PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Tue Aug 14 23:13:26 UTC 2018
Date: Tuesday, August 14, 2018 @ 23:13:25
Author: ffy00
Revision: 371658
archrelease: copy trunk to community-any
Added:
simplespectral/repos/community-any/
simplespectral/repos/community-any/PKGBUILD
(from rev 371657, simplespectral/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: simplespectral/repos/community-any/PKGBUILD (from rev 371657, simplespectral/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2018-08-14 23:13:25 UTC (rev 371658)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+# Contributor: Michal Krenek (Mikos) <m.krenek at gmail.com>
+
+pkgname=simplespectral
+pkgver=1.0.0
+pkgrel=1
+pkgdesc="Heavily simplified scipy.signal.spectral module"
+arch=('any')
+url="https://github.com/xmikos/simplespectral"
+license=('MIT')
+depends=('python' 'python-numpy')
+makedepends=('python-setuptools')
+optdepends=('python-pyfftw: fastest FFT calculations with FFTW library'
+ 'python-scipy: faster FFT calculations with scipy.fftpack library')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/xmikos/simplespectral/archive/v$pkgver.tar.gz")
+sha256sums=('4342741f7054c71f7c5fb9d38df49e048e0a4e20eb53cefd247e47937644cad0')
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+ python setup.py build
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
+ python setup.py install --root="$pkgdir"
+
+ install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list