diff options
author | Liam Timms | 2023-01-23 10:44:59 -0500 |
---|---|---|
committer | Liam Timms | 2023-01-23 10:44:59 -0500 |
commit | 402044dc4acdceaa17d50cc36164a9da005d7228 (patch) | |
tree | d92208722b4689052973ce1b793697e71865751d /PKGBUILD | |
parent | 3765f8aa85fe833a17d520758cd558293557d75a (diff) | |
download | aur-402044dc4acdceaa17d50cc36164a9da005d7228.tar.gz |
version bump
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 25 |
1 files changed, 7 insertions, 18 deletions
@@ -1,53 +1,42 @@ -# Maintainer: Liam Timms <timms5000 at gmail dot com> # Contributor: Dario Bosch <LastnameFirstname at gmail dot com> +# Maintainer: Liam TImms < timms5000 [at] gmail dot com > pkgname=mrtrix3 -pkgver=r6677.fce21191f +pkgver=3.0.4 pkgrel=1 pkgdesc="tools for diffusion MRI analyses, data conversion and a viewer (mrview)" arch=('x86_64') url="https://github.com/MRtrix3/${pkgname}" license=('MPL2') - depends=( # 'zlib' # already installed as dependency of python # 'qt5-base' # already installed as dependency of qt5-svg 'qt5-svg' 'python' ) - optdepends=( 'libtiff' + 'libpng' 'fftw' ) - makedepends=( 'gcc' 'git' 'eigen' ) - provides=('mrtrix3') conflicts=('mrtrix3') - -source=("${pkgname}-git::git+https://github.com/MRtrix3/${pkgname}#commit=$(cut -d'.' -f2 <<< ${pkgver})") -sha256sums=('SKIP') - -pkgver() { - cd "$srcdir/${pkgname}-git" - printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" -} +source=("${pkgname}-${pkgver}::https://github.com/MRtrix3/${pkgname}/archive/${pkgver}.tar.gz") +sha256sums=('f1d1aa289cfc3e46e3a8eca93594b23d061c6d50a0cd03727433a7e2cd14f71a') build() { - # Set CPU architecture to the building system's architecture - export ARCH=native - cd "${pkgname}-git" + cd "${pkgname}-${pkgver}" ./configure ./build } package() { - cd "${pkgname}-git" + cd "${pkgname}-${pkgver}" mkdir -p "$pkgdir/usr/bin" mkdir -p "$pkgdir/usr/lib" cp -R ./bin/* "$pkgdir/usr/bin" |