aur/PKGBUILD
Tobias Bachmann ec62eb41ec FSL 6.0.2
2019-10-09 15:20:26 +02:00

23 lines
882 B
Bash

# Maintainer: Tobias Bachmann <tobachmann@gmx.de>
pkgname=fslpy
pkgver=2.6.2
pkgrel=1
pkgdesc="The fslpy package is a collection of utilities and data abstractions used by FSLeyes."
arch=('any')
url="https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/FSLeyes"
license=('Apache')
groups=()
# Keep python-deprecated to keep FEAT check of FSL FEEDS from failing
depends=('python' 'python-six' 'python-numpy' 'python-scipy' 'python-nibabel' 'python-h5py' 'python-deprecation')
makedepends=('python-setuptools')
optdepends=('python-rtree' 'python-pillow')
provides=()
conflicts=()
replaces=()
source=($pkgname-$pkgver.tar.gz::https://git.fmrib.ox.ac.uk/fsl/fslpy/repository/archive.tar.gz?ref=$pkgver)
sha256sums=('fdf68be663ac89c2df54dbe95a9b265c9ea0144e04576f1b5014b9d78f1b619d')
package() {
cd "$srcdir/${pkgname#fsleyes-}-$pkgver-"*
python setup.py install --root="$pkgdir/" --optimize=1
}