diff options
author | Zhang Hai | 2017-09-26 19:46:53 -0700 |
---|---|---|
committer | Zhang Hai | 2017-09-26 19:47:05 -0700 |
commit | c5fe0e38cd95f836f86246b7b02d68e57dca3528 (patch) | |
tree | 1ccf5bb5cd0c17601ea3b669589903db44ab0fbc | |
parent | 9c0d5740fd63122bcff7f580d20149425944105c (diff) | |
download | aur-c5fe0e38cd95f836f86246b7b02d68e57dca3528.tar.gz |
Add fix for conflict with texlive.
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -44,9 +44,12 @@ package() { msg2 'Creating links for executables' install -d -m755 "${pkgdir}/usr/bin/" - for _executable in deploytool matlab mbuild mcc mex; do - ln -s "/opt/${_pkgname}/bin/${_executable}" "${pkgdir}/usr/bin/${_executable}" + for executable in deploytool matlab mbuild mcc mex; do + ln -s "/opt/${_pkgname}/bin/${executable}" "${pkgdir}/usr/bin/${executable}" done + msg2 'If you see a conflict with texlive on /usr/bin/mex upon install, edit PKGBUILD and uncomment the following lines' + # rm "${pkgdir}/usr/bin/mex" + # ln -s "/opt/${_pkgname}/bin/mex" "${pkgdir}/usr/bin/matlab-mex" msg2 'Installing desktop files' install -D -m644 "${_pkgname}.desktop" "${pkgdir}/usr/share/applications/${_pkgname}.desktop" |