diff options
author | Simone Gaiarin | 2019-10-27 08:26:39 +0100 |
---|---|---|
committer | Simone Gaiarin | 2019-10-27 08:26:39 +0100 |
commit | 13ed5a1df5b14e0b6c37a848f90858e25588cc7b (patch) | |
tree | 18c222b0616f5664bb904e94bd35a65258c8da88 | |
download | aur-13ed5a1df5b14e0b6c37a848f90858e25588cc7b.tar.gz |
Initial release
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..8f52aec86651 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = fnft + pkgdesc = Fast numerical computation of (inverse) nonlinear Fourier transforms + pkgver = 0.2.2 + pkgrel = 1 + url = https://github.com/FastNFT/FNFT + arch = any + license = GPL2 + makedepends = gcc + makedepends = gcc-fortran + makedepends = cmake + source = https://github.com/FastNFT/FNFT/archive/v0.2.2.tar.gz + sha1sums = 17aca6985a34f54be2a865554ef863c7d6c3108f + +pkgname = fnft + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a63c3f91887d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Simone Gaiarin <simgunz@gmail.com> +# Contributor: Simone Gaiarin <simgunz@gmail.com> + +pkgname=fnft +pkgver=0.2.2 +pkgrel=1 +pkgdesc="Fast numerical computation of (inverse) nonlinear Fourier transforms" +arch=('any') +url="https://github.com/FastNFT/FNFT" +license=('GPL2') +makedepends=('gcc' 'gcc-fortran' 'cmake') +source=("https://github.com/FastNFT/FNFT/archive/v${pkgver}.tar.gz") +sha1sums=('17aca6985a34f54be2a865554ef863c7d6c3108f') + +build() { + + mkdir -p "${srcdir}/build" + cd "${srcdir}/build" + cmake ${srcdir}/FNFT-${pkgver} -DENABLE_FFTW=ON -DBUILD_TESTS=OFF + make -j4 +} + +package() { + cd ${srcdir}/build + make DESTDIR="$pkgdir/" install +} |