# Contributor: Isaac Dunham # Maintainer: setglobal pkgname = 'harminv' setglobal pkgver = '1.4.1' setglobal pkgrel = '0' setglobal pkgdesc = '"Free program to solve the problem of harmonic inversion'" setglobal url = '"https://github.com/stevengj/harminv'" setglobal arch = '"all'" setglobal license = '"GPL'" setglobal depends_dev = '"openblas-dev'" setglobal makedepends = ""$depends_dev gfortran"" setglobal subpackages = ""$pkgname-dev $pkgname-doc $pkgname-libs"" setglobal source = ""$pkgname-$pkgver.tar.gz::https://github.com/stevengj/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz"" setglobal builddir = ""$srcdir"/$pkgname-$pkgver" proc build { cd $builddir ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ --disable-static --enable-shared make } proc package { cd $builddir make DESTDIR="$pkgdir" install } setglobal sha512sums = '"30720804286e4d373bcaae5b1b8238748b3077bfd6e6afb98eba571d8acfd13d927b84d1f6ab2b975bd665063dfc533bd7a0d19f199bf51694c6d93f6c7c947c harminv-1.4.1.tar.gz'"