diff options
author | Alexei Colin | 2017-06-23 03:00:39 -0400 |
---|---|---|
committer | Alexei Colin | 2017-06-23 02:16:52 -0400 |
commit | e6f135b0942fcd8f1f1fe67896a96e34cd5f8eb9 (patch) | |
tree | 12e5a310af248829bb0d90c1e5d545874c29eed9 | |
parent | e2dd89e15ed4fc4a0522113858af1836db44f6c8 (diff) | |
download | aur-e6f135b0942fcd8f1f1fe67896a96e34cd5f8eb9.tar.gz |
match permission of dir
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 18 |
2 files changed, 13 insertions, 7 deletions
@@ -1,5 +1,5 @@ # Generated by mksrcinfo v8 -# Fri Jun 23 06:13:58 UTC 2017 +# Fri Jun 23 06:14:13 UTC 2017 pkgbase = ti-cgt-arm pkgdesc = Texas Instruments Code Generation Tools (compiler) for ARM pkgver = 5.2.9 @@ -40,19 +40,25 @@ options=(!strip libtool staticlibs emptydirs !purge !zipman) _ccsdir=ccstudio _destdir=opt _installdir=installdir -_installpath=$_installdir/$_destdir/ccstudio/ccsv7/tools/compiler +_installloc=$_ccsdir/ccsv7/tools/compiler +_installpath=$_installdir/$_destdir/$_installloc +_tooldir=${pkgname}_${pkgver} -build() { - cd $srcdir/${_archive} +prepare() { + cd $srcdir + chmod +x ./${_installer} +} - echo ">>> Executing installer. You can monitor progress with:" - echo ">>> tail -f ${srcdir}/${_installpath}/ccsv7/install_logs/*/ccs_setup_${pkgver}_install.log" +build() { + cd $srcdir - # Assuming the same problem exists as for ccstudio installer (see ccstudio/PKGBUILD for details) + # Calling from build to avoid fakeroot, assuming the same problem exists as + # for ccstudio installer (see ccstudio/PKGBUILD for details) ./${_installer} --mode unattended --prefix $srcdir/$_installpath } package() { + # Hardlink to avoid time and space overhead cp -ral $srcdir/$_installdir/$_destdir $pkgdir/ |