diff options
author | Liam Timms | 2019-10-01 16:20:41 -0400 |
---|---|---|
committer | Liam Timms | 2019-10-01 16:20:41 -0400 |
commit | 9fdbf9428ac99abd594ec4ee38f27a18980d662f (patch) | |
tree | 8b95a3a6679185f400e64cf32dd807a4fc8e501c | |
download | aur-9fdbf9428ac99abd594ec4ee38f27a18980d662f.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..a27288c55c24 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = python-dcm2bids + pkgdesc = Reorganising NIfTI files from dcm2niix into the Brain Imaging Data Structure + pkgver = 2.1.4 + pkgrel = 1 + url = https://github.com/cbedetti/Dcm2Bids + arch = any + license = GPL3 + makedepends = python-setuptools + depends = dcm2niix + options = !emptydirs + source = dcm2bids-2.1.4.tar.gz::https://github.com/cbedetti/Dcm2Bids/archive/2.1.4.tar.gz + sha256sums = b702da2988734a6506310bf1a530d631b2e528df5373368e476f780acd7bc9ab + +pkgname = python-dcm2bids + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..0889c9f4dd1f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Contributor: Liam Timms <timms5000@gmail.com> + +pkgname=python-dcm2bids +_name=${pkgname/python-/} +pkgver=2.1.4 +pkgrel=1 +pkgdesc="Reorganising NIfTI files from dcm2niix into the Brain Imaging Data Structure" +arch=('any') +url="https://github.com/cbedetti/Dcm2Bids" +license=('GPL3') +depends=('dcm2niix') +makedepends=('python-setuptools') +options=(!emptydirs) +source=("${_name}-${pkgver}.tar.gz::https://github.com/cbedetti/Dcm2Bids/archive/${pkgver}.tar.gz") +sha256sums=('b702da2988734a6506310bf1a530d631b2e528df5373368e476f780acd7bc9ab') + +build() { + cd "$srcdir"/Dcm2Bids-$pkgver + + python setup.py build +} + +package() { + cd "$srcdir"/Dcm2Bids-$pkgver + + python setup.py install --root="$pkgdir"/ --optimize=1 +} + |