diff options
author | Lucas Heitzmann Gabrielli | 2017-11-14 07:36:09 -0200 |
---|---|---|
committer | Lucas Heitzmann Gabrielli | 2017-11-14 07:36:09 -0200 |
commit | 43f26579d0594503917cdeff969d0ec731d249dc (patch) | |
tree | 95d1d9c1a742676c89c8c6137ea738d835d60394 | |
download | aur-43f26579d0594503917cdeff969d0ec731d249dc.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 31 |
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..2b746e9960c6 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = harminv-git + pkgdesc = Harmonic inversion algorithm of Mandelshtam: decompose signal into sum of decaying sinusoids + pkgver = 1.4.1.r3.gfe6f73d + pkgrel = 1 + url = https://github.com/stevengj/harminv + arch = i686 + arch = x86_64 + license = GPL2 + makedepends = gcc-fortran + depends = lapack + provides = harminv + conflicts = harminv + options = !libtool + source = git+https://github.com/stevengj/harminv.git + sha256sums = SKIP + +pkgname = harminv-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..61c954edb690 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Lucas H. Gabrielli <heitzmann@gmail.com> +pkgname=harminv-git +pkgver=1.4.1.r3.gfe6f73d +pkgrel=1 +pkgdesc='Harmonic inversion algorithm of Mandelshtam: decompose signal into sum of decaying sinusoids' +arch=('i686' 'x86_64') +url='https://github.com/stevengj/harminv' +license=('GPL2') +depends=('lapack') +makedepends=('gcc-fortran') +options=('!libtool') +provides=('harminv') +conflicts=('harminv') +source=('git+https://github.com/stevengj/harminv.git') +sha256sums=('SKIP') + +pkgver() { + cd "${srcdir}/harminv" + git describe --long --tags | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g' +} + +build() { + cd "${srcdir}/harminv" + ./autogen.sh --prefix=/usr --mandir=/usr/share/man --enable-shared + make +} + +package() { + cd "${srcdir}/harminv" + make prefix="$pkgdir"/usr mandir="$pkgdir"/usr/share/man install +} |