summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD12
1 files changed, 9 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index cd787e928f5..8cd995dfb39 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer of this PKBGUILD file: Martino Pilia <martino.pilia@gmail.com>
pkgname=nifticlib
pkgver=2.0.0
-pkgrel=1
+pkgrel=2
pkgdesc='Collection of i/o routines for the nifti1 neuroimage data format'
arch=('any')
url='https://nifti.nimh.nih.gov/'
@@ -10,8 +10,10 @@ depends=()
makedepends=('cmake')
optdepends=()
provides=('nifticlib')
-source=('http://downloads.sourceforge.net/project/niftilib/nifticlib/nifticlib_2_0_0/nifticlib-2.0.0.tar.gz')
-md5sums=('425a711f8f92fb1e1f088cbc55bea53a')
+source=('http://downloads.sourceforge.net/project/niftilib/nifticlib/nifticlib_2_0_0/nifticlib-2.0.0.tar.gz'
+ 'https://raw.githubusercontent.com/daducci/COMMIT/master/extras/CMake/FindNIFTI.cmake')
+md5sums=('425a711f8f92fb1e1f088cbc55bea53a'
+ '0bc60d46f415d9e622e16c9463cd1ef6')
prepare() {
cd "$srcdir/$pkgname-$pkgver"
@@ -40,6 +42,10 @@ package() {
make install
install -D -m644 \
+ "$srcdir/FindNIFTI.cmake" \
+ "$pkgdir/usr/lib/nifti/nifti-config.cmake"
+
+ install -D -m644 \
"$srcdir/$pkgname-$pkgver/LICENSE" \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}