diff options
author | Marco Rubin | 2023-04-23 18:50:51 +0200 |
---|---|---|
committer | Marco Rubin | 2023-04-23 18:50:51 +0200 |
commit | 5facfe08061624af598b9113de1297b89fee94c5 (patch) | |
tree | fd4d332afc74200d55ccec92faa674a222cbef39 /PKGBUILD | |
parent | a810cd0b790bd63602840d2d2227540c5f6213c1 (diff) | |
download | aur-5facfe08061624af598b9113de1297b89fee94c5.tar.gz |
2023a
Diffstat (limited to 'PKGBUILD')
-rwxr-xr-x | PKGBUILD | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -3,15 +3,15 @@ # Contributor: Batuhan Baserdem <lastname dot firstname at gmail> pkgname=matlab -pkgrel=2 -pkgver="9.13.0.2126072" +pkgrel=1 +pkgver=9.14.0.2239454 pkgdesc='A high-level language for numerical computation and visualization' arch=(x86_64) url='https://www.mathworks.com' license=(custom) depends=(matlab-meta) makedepends=('gendesk') -provides=('matlab' 'matlab-bin') +provides=('matlab-bin') source=('local://matlab.tar' 'local://matlab.fik' 'local://matlab.lic') b2sums=(SKIP SKIP SKIP) @@ -49,12 +49,15 @@ build() { # -inputFile makes the installation non-interactive. "$srcdir/matlab/install" -inputFile "$srcdir/matlab/installer_input.txt" - if [ -z "$(ls -A build)" ]; then + # If "$srcdir/build" does not exist, the installer failed. + if [ -z "$(ls -A "$srcdir/build")" ]; then echo "==> ERROR: MATLAB installer failed, check install.log" exit 1 fi echo " -> Generating desktop files..." + _release="$(sed --quiet 's|\s*<release>\(.*\)</release>\s*|\1|p' \ + "$srcdir/matlab/VersionInfo.xml")" gendesk -f -n \ --pkgname 'matlab' \ --pkgdesc "$pkgdesc" \ |