diff options
author | Alexei Colin | 2017-06-23 03:00:39 -0400 |
---|---|---|
committer | Alexei Colin | 2017-06-23 02:16:51 -0400 |
commit | e2dd89e15ed4fc4a0522113858af1836db44f6c8 (patch) | |
tree | 600259c0b05059e7058d221b725e485495eb0236 | |
parent | 115a9364a0fb47325d2cefdb88b9e84569f30b9d (diff) | |
download | aur-e2dd89e15ed4fc4a0522113858af1836db44f6c8.tar.gz |
match permission of dir
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 4 insertions, 3 deletions
@@ -1,5 +1,5 @@ # Generated by mksrcinfo v8 -# Fri Jun 23 06:13:39 UTC 2017 +# Fri Jun 23 06:13:58 UTC 2017 pkgbase = ti-cgt-arm pkgdesc = Texas Instruments Code Generation Tools (compiler) for ARM pkgver = 5.2.9 @@ -37,6 +37,7 @@ md5sums=('ca3b062fc108aa9ef89e6c2e12a0f051') options=(!strip libtool staticlibs emptydirs !purge !zipman) +_ccsdir=ccstudio _destdir=opt _installdir=installdir _installpath=$_installdir/$_destdir/ccstudio/ccsv7/tools/compiler @@ -55,8 +56,8 @@ package() { # Hardlink to avoid time and space overhead cp -ral $srcdir/$_installdir/$_destdir $pkgdir/ - #find $pkgdir -type f -exec chmod g+rw {} \; - #find $pkgdir -type d -exec chmod g+x {} \; + # Match permissions to ccstudio package (see notes in ccstudio.install) + find $pkgdir/$_destdir/$_ccsdir -type d -exec chmod 0775 {} \; install -D -m0644 $srcdir/${_installpath}/${_tooldir}/LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE } |