summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorRoosted72019-08-27 11:54:18 +0200
committerRoosted72019-08-27 11:54:18 +0200
commit930ac8644736b7e762fb0dbac8d554f8fa9f6e6d (patch)
tree9f7dfd472aa802b51fe8cbfcdcd690c8606a0e4d /PKGBUILD
parent6b96260e140c60b24df70df643089fa6a4091fe7 (diff)
downloadaur-930ac8644736b7e762fb0dbac8d554f8fa9f6e6d.tar.gz
Update to 7487
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 17d1a673bcf1..7c734a0fe85b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,15 +10,15 @@
#_BUILD_OCTAVE=
pkgname=spm12
-pkgver=7219
-pkgrel=2
+pkgver=7487
+pkgrel=1
pkgdesc="A MATLAB toolbox for the analysis of brain imaging data sequences"
arch=('i686' 'x86_64')
url="http://www.fil.ion.ucl.ac.uk/spm/"
license=('GPL2')
makedepends=(make)
source=("${pkgname}-r${pkgver}.tar.gz::https://github.com/spm/${pkgname}/archive/r${pkgver}.tar.gz")
-sha256sums=('421e337c8685b0c2cfb43802459c4edd7cc322749ffbccdf68ee2e99b95ef843')
+sha512sums=('4c8d448771bc7e1c1923fd92138d736f3760542686942e02242b137e3aed8455098e247b5d903cfa5f1f573757fb6c1c220f47d4d2dd74002674aa7346315ae8')
prepare() {
@@ -29,6 +29,9 @@ prepare() {
if [ -d "/opt/matlab" ]; then
_MATLAB_DIR=$(find /opt/matlab/R*/bin -mindepth 1 -maxdepth 1 -name mex | sort | tail -n 1 | xargs dirname | xargs dirname)
fi
+ if [ -d "/opt/MATLAB" ]; then
+ _MATLAB_DIR=$(find /opt/MATLAB/R*/bin -mindepth 1 -maxdepth 1 -name mex | sort | tail -n 1 | xargs dirname | xargs dirname)
+ fi
fi
# Set _BUILD_MATLAB switch if unset