summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAlif Rachmawadi2017-04-27 10:17:08 +0700
committerAlif Rachmawadi2017-04-27 10:17:08 +0700
commitec9305410b1ba7e983ce865ec083920f1c895d0f (patch)
tree7ed11f9a641651c013fe8f15328fd8167204ab9a /PKGBUILD
parent2a01c4f22e8896269ca3546d0b33d7760202007f (diff)
downloadaur-ec9305410b1ba7e983ce865ec083920f1c895d0f.tar.gz
update file permissions
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f7a880caaa4..6820c7043db 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=wavebox-bin
pkgver=3.1.5
-pkgrel=2
+pkgrel=3
pkgdesc="The next generation of web-desktop communication"
arch=('x86_64' 'i686')
url="https://wavebox.io/"
@@ -32,7 +32,10 @@ package() {
mkdir -p "${pkgdir}/usr/share/wavebox"
mkdir -p "${pkgdir}/usr/share/applications"
- cp -R ./* "${pkgdir}/usr/share/wavebox"
- cp "${srcdir}/wavebox.desktop" "${pkgdir}/usr/share/applications/wavebox.desktop"
+ cp --preserve=mode -R ./* "${pkgdir}/usr/share/wavebox"
+ install -m644 "${srcdir}/wavebox.desktop" "${pkgdir}/usr/share/applications/wavebox.desktop"
ln -s "/usr/share/wavebox/Wavebox" "${pkgdir}/usr/bin/wavebox"
+
+ chmod 644 "${pkgdir}/usr/share/wavebox/icon.png"
+ chmod 644 "${pkgdir}/usr/share/wavebox/libnode.so"
}