summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexis Polti2016-08-29 20:55:42 +0200
committerAlexis Polti2016-08-29 20:55:42 +0200
commit0a7fba422ea719ad0010bba8d568938ca20a6b5a (patch)
tree2af2802a77b76be7b81c45c6685fd0c146319fa7
parentbe69010c73807326dff512399b674866795c036c (diff)
downloadaur-0a7fba422ea719ad0010bba8d568938ca20a6b5a.tar.gz
Temporary fix for file persmissions
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD8
2 files changed, 8 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bf52b5df1ef7..5644ab42e64d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Mon Aug 22 23:00:24 UTC 2016
+# Mon Aug 29 18:55:15 UTC 2016
pkgbase = ozone
pkgdesc = Segger Ozone JLink debugger for Linux
pkgver = 2.18c
- pkgrel = 1
+ pkgrel = 2
epoch = 2
url = https://www.segger.com/jlink-software.html
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index a6fd5570083d..cab023e72fdb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=ozone
pkgver=2.18c
-pkgrel=1
+pkgrel=2
epoch=2
pkgdesc="Segger Ozone JLink debugger for Linux"
arch=('i686' 'x86_64')
@@ -36,10 +36,14 @@ package(){
cd ${srcdir}/Ozone*
+ # Make permissions right
+ find . -type d | xargs chmod a+rx
+ find . -type f | xargs chmod a+r
+
# Remove un-needed files
find . -name ".svn" | xargs rm -rf
- # Bulk copy everything except libs
+ # Bulk copy everything
cp --preserve=mode -r Ozone Plugins Doc Config Lib "${pkgdir}/opt/SEGGER/Ozone"
# Create links where needed