summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexei Colin2017-06-23 03:00:39 -0400
committerAlexei Colin2017-06-23 02:16:51 -0400
commite2dd89e15ed4fc4a0522113858af1836db44f6c8 (patch)
tree600259c0b05059e7058d221b725e485495eb0236
parent115a9364a0fb47325d2cefdb88b9e84569f30b9d (diff)
downloadaur-e2dd89e15ed4fc4a0522113858af1836db44f6c8.tar.gz
match permission of dir
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 00fed296d25a..ed7aefb2dc7a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 531e89af1f58..11685b472bc8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
}