diff options
author | chn | 2021-04-23 09:39:05 +0800 |
---|---|---|
committer | chn | 2021-04-23 09:39:05 +0800 |
commit | b53bf773cad04a0d83c47878ed4e80f4183788b3 (patch) | |
tree | 588005fd969c0d7abcd4333bd0f49e31a27cac51 | |
download | aur-b53bf773cad04a0d83c47878ed4e80f4183788b3.tar.gz |
0.2.3
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d5d37f3a692d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = xtensor-fftw + pkgdesc = FFTW bindings for the xtensor C++14 multi-dimensional array library + pkgver = 0.2.3 + pkgrel = 1 + url = https://github.com/xtensor-stack/xtensor-fftw + arch = any + license = BSD-3-Clause + makedepends = cmake + depends = xtensor + depends = xtl + depends = fftw>=3 + source = xtensor-fftw-0.2.3.tar.gz::https://github.com/xtensor-stack/xtensor-fftw/archive/0.2.3.tar.gz + sha512sums = db947fd162a88b716ff85dadf58d2fcb82d1ffc058b1484322d9978d9c74d68209e0b9e626238027b01e8bb0b45bf221365c2d8319acdb3361c65471322ee3d9 + +pkgname = xtensor-fftw + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..457d36af51c8 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: chn <g897331845@gmail.com> +pkgname=xtensor-fftw +pkgver=0.2.3 +pkgrel=1 +pkgdesc="FFTW bindings for the xtensor C++14 multi-dimensional array library" +arch=('any') +url="https://github.com/xtensor-stack/xtensor-fftw" +license=('BSD-3-Clause') +depends=('xtensor' 'xtl' 'fftw>=3') +makedepends=('cmake') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/xtensor-stack/xtensor-fftw/archive/${pkgver}.tar.gz") + +build() { + cd "${pkgname}-${pkgver}" + mkdir -p build + cd build + cmake \ + -DCMAKE_INSTALL_PREFIX=${pkgdir}/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + .. + make +} + +package() { + cd "${pkgname}-${pkgver}/build" + make install +} +sha512sums=('db947fd162a88b716ff85dadf58d2fcb82d1ffc058b1484322d9978d9c74d68209e0b9e626238027b01e8bb0b45bf221365c2d8319acdb3361c65471322ee3d9') |