summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7f26d7752d09e5039417aabdc11b7d93ae11264c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Contributor: Jia Li <lijia1608@gmail.com>
# Maintainer: Francesco Zardi <frazar0 (at) hotmail (dot) it>

pkgname=nfft
pkgver=3.5.3
pkgrel=1
pkgdesc="Library for computing Non-uniform Fast Fourier Transforms."
arch=(i686 x86_64)
url="https://www-user.tu-chemnitz.de/~potts/nfft/"
license=('GPL2')
depends=('fftw')
makedepends=('autoconf')
optdepends=('openmp: for OpenMP support')
provides=($pkgname=$pkgver)
conflicts=('nfft-git')
source=("https://github.com/NFFT/nfft/releases/download/$pkgver/$pkgname-$pkgver.tar.gz")
sha256sums=('caf1b3b3e5bf8c33a6bfd7eca811d954efce896605ecfd0144d47d0bebdf4371')

build() {
	cd "$pkgname-$pkgver" || exit 1

	./bootstrap.sh

	./configure \
		--prefix=/usr \
		--enable-all \
		--enable-openmp

	make
}

package() {
	cd "$pkgname-$pkgver" || exit 1

	make DESTDIR="$pkgdir/" install
}

check() {

	cd "$pkgname-$pkgver" || exit 1
	make check
}