aboutsummarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorGrey Christoforo2017-11-26 23:53:19 +0000
committerGrey Christoforo2017-11-26 23:53:19 +0000
commit1942fe9204c3a50f26d3bc61bbb3d189fc9b9c99 (patch)
tree4b425ca77840922cba350938d7ad026113789320 /PKGBUILD
parentc51914bd59dc19b353a8cb3a250b8ff15eefe775 (diff)
downloadaur-1942fe9204c3a50f26d3bc61bbb3d189fc9b9c99.tar.gz
need to move old license dir out of the way
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 8c2a8d31806f..7e3d72706f54 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
pkgname=matlab
pkgver=9.3.0.713579
-pkgrel=1
+pkgrel=2
pkgdesc='A high-level language for numerical computation and visualization'
arch=('x86_64')
url='http://www.mathworks.com'
@@ -77,6 +77,7 @@ package() {
install -D -m644 "${pkgdir}/opt/tmw/${pkgname}/license_agreement.txt" "${pkgdir}/usr/share/licenses/tmw/${pkgname}/LICENSE"
msg2 'Creating links for license.dat'
+ mv "${pkgdir}/opt/tmw/${pkgname}/licenses" "${pkgdir}/opt/tmw/${pkgname}/licenses.bak"
ln -s "/etc/tmw/${pkgname}/licenses/" "${pkgdir}/opt/tmw/${pkgname}/licenses"
msg2 'Creating links for executables'