summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorjon2017-11-19 22:54:04 +0200
committerjon2017-11-19 22:54:04 +0200
commit9d17d803bceae9ad469e1f1616989fbc59495218 (patch)
treecff7c5a8e7b901a0e53883720792b4135073d57a
parent497acedf8c9e4ef2e35ccadf61507e9f0da004df (diff)
downloadaur-9d17d803bceae9ad469e1f1616989fbc59495218.tar.gz
fixed permissions bug.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD10
2 files changed, 9 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 76a992514d9..6ce46830042 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = boram
pkgdesc = Cross-platform WebM converter
pkgver = 0.3.7
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/Kagami/boram#readme
arch = x86_64
license = CC0-1.0
diff --git a/PKGBUILD b/PKGBUILD
index 3b5902d4df7..f965d2bb452 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Šarūnas Gliebus <ssharunas at yahoo.co.uk>
pkgname=boram
pkgver=0.3.7
-pkgrel=1
+pkgrel=2
pkgdesc="Cross-platform WebM converter"
arch=('x86_64')
url="https://github.com/Kagami/boram#readme"
@@ -15,5 +15,11 @@ package() {
mkdir -p "$pkgdir/usr/bin/"
cp -r "$srcdir/$pkgname-v$pkgver-linux-x64/" "$pkgdir/opt/$pkgname"
- ln -s "$pkgdir/opt/$pkgname/boram" "$pkgdir/usr/bin/boram"
+ find "$pkgdir/opt/$pkgname" -type f -exec chmod 644 -- {} +
+ find "$pkgdir/opt/$pkgname" -type d -exec chmod 755 -- {} +
+
+ chmod 655 "$pkgdir/opt/$pkgname/boram"
+ chmod 655 "$pkgdir/opt/$pkgname/resources/app/checklib"
+
+ ln -s "/opt/$pkgname/boram" "$pkgdir/usr/bin/boram"
}