summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorcsicar2021-01-28 22:36:13 +0100
committercsicar2021-01-28 22:36:13 +0100
commitb4868697acfe9e7928d2e1255e0498267a1c6533 (patch)
tree9249d0c2584e8120c26b7a111fcecb34dcf7bf9a
parent860b2fd3c3ad90131fdcfb5ea586d5ad26edb9c4 (diff)
downloadaur-b4868697acfe9e7928d2e1255e0498267a1c6533.tar.gz
Fix ownership as suggested by yochananmarqos
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 47c954b89f7f..7b3a651b246c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = fx_cast-bin
pkgdesc = Implementation of the Google Cast Chrome Sender SDK within Firefox
pkgver = 0.1.0
- pkgrel = 2
+ pkgrel = 3
url = https://hensm.github.io/fx_cast/
install = fx_cast.install
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index df13dff3de8c..7b05229eaf74 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
# Based on: https://github.com/yochananmarqos/pkgbuilds/blob/master/fx_cast-bin/PKGBUILD
pkgname=fx_cast-bin
pkgver=0.1.0
-pkgrel=2
+pkgrel=3
pkgdesc="Implementation of the Google Cast Chrome Sender SDK within Firefox "
arch=('x86_64')
url="https://hensm.github.io/fx_cast/"
@@ -25,5 +25,8 @@ package(){
find "$pkgdir/" -type d -exec chmod 755 {} \;
chmod 644 "$pkgdir/usr/lib/mozilla/native-messaging-hosts/${pkgname%-bin}_bridge.json"
+ # Fix ownership
+ chown -R root:root "${pkgdir}"
+
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/${pkgname%-bin}"
} \ No newline at end of file