summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorwedjat2018-03-10 14:05:01 +0100
committerwedjat2018-03-10 14:05:01 +0100
commit11d2a7ed882c27dfa9ce26e0be361cd740f5a12c (patch)
tree350ea1937bb896585e1037832a49e093da0bd7d2
downloadaur-11d2a7ed882c27dfa9ce26e0be361cd740f5a12c.tar.gz
Initial commit
-rw-r--r--.SRCINFO18
-rw-r--r--.gitignore5
-rw-r--r--PKGBUILD35
3 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3de1cb3398c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = dcm2niix
+ pkgdesc = A tool for converting images from the complicated formats used by scanner manufacturers (DICOM, PAR/REC) to the simple NIfTI format
+ pkgver = 1.0.20171215
+ pkgrel = 1
+ url = https://www.nitrc.org/projects/dcm2nii/
+ arch = x86_64
+ license = MIT
+ license = public domain
+ makedepends = cmake
+ makedepends = yaml-cpp
+ makedepends = python-sphinx
+ depends = zlib
+ optdepends = pigz
+ source = dcm2niix-1.0.20171215.tar.gz::https://github.com/rordenlab/dcm2niix/archive/v1.0.20171215.tar.gz
+ md5sums = dcc0f6ccb29146a915001294e98e2dd1
+
+pkgname = dcm2niix
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..687f7f36a63
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+.PKGBUILD.alternative_(not_working)
+*tar.gz
+*pkg.tar.xz
+pkg
+src
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e8504e9cfa7
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: wedjat <wedjat@protonmail.com>
+pkgname=dcm2niix
+pkgver=1.0.20171215
+pkgrel=1
+pkgdesc="A tool for converting images from the complicated formats used by scanner manufacturers (DICOM, PAR/REC) to the simple NIfTI format"
+arch=(x86_64)
+url="https://www.nitrc.org/projects/dcm2nii/"
+license=('MIT' 'public domain')
+depends=('zlib')
+makedepends=('cmake' 'yaml-cpp' 'python-sphinx')
+optdepends=('pigz')
+install=
+changelog=
+source=("$pkgname-$pkgver.tar.gz::https://github.com/rordenlab/dcm2niix/archive/v$pkgver.tar.gz")
+md5sums=('dcc0f6ccb29146a915001294e98e2dd1')
+
+
+build()
+{
+ cd "$srcdir/$pkgname-$pkgver"
+ mkdir build
+ cd build
+
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DBATCH_VERSION=ON -DUSE_SYSTEM_ZLIB=ON -DBUILD_DOCS=ON ..
+ make
+}
+
+
+
+package()
+{
+ cd "$srcdir/$pkgname-$pkgver"
+ cd build
+ make DESTDIR="$pkgdir" install
+}