summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD12
2 files changed, 12 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e8ea6292a03..040ffde56d1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,16 @@
pkgbase = nifticlib
pkgdesc = Collection of i/o routines for the nifti1 neuroimage data format
pkgver = 2.0.0
- pkgrel = 1
+ pkgrel = 2
url = https://nifti.nimh.nih.gov/
arch = any
license = custom:public domain
makedepends = cmake
provides = nifticlib
source = http://downloads.sourceforge.net/project/niftilib/nifticlib/nifticlib_2_0_0/nifticlib-2.0.0.tar.gz
+ source = https://raw.githubusercontent.com/daducci/COMMIT/master/extras/CMake/FindNIFTI.cmake
md5sums = 425a711f8f92fb1e1f088cbc55bea53a
+ md5sums = 0bc60d46f415d9e622e16c9463cd1ef6
pkgname = nifticlib
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"
}