aur/PKGBUILD
Tobias Bachmann f217de44c1 Initial push
2021-04-20 11:18:32 +02:00

24 lines
903 B
Bash

# Maintainer: Tobias Bachmann <tobachmann@gmx.de>
pkgname=fslpy
pkgver=3.6.0
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' 'python-dataclasses')
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=('97c3c7d5e1c203cff23911e79ca4ff24f8dcb18173589df489bf8e0aca44dc4e')
package() {
cd "$srcdir/${pkgname#fsleyes-}-$pkgver-"*
python setup.py install --root="$pkgdir/" --optimize=1
}