summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMuhammad Al-Habib Ouadhour2018-08-13 20:46:12 +0100
committerMuhammad Al-Habib Ouadhour2018-08-13 20:46:12 +0100
commit8244dd1159c2400a4010cd858fb6f0137c077b76 (patch)
treed07930c71267d74765d421542596fa670def08bb /PKGBUILD
parent09dfd6998fa2d51f7e34e06fc6b62ff7334fcc9f (diff)
downloadaur-alun.tar.gz
Fixing a security issue, rwx was given to a normal user after installation
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 0cd6fa4915ca..933e907ba90b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=alun
pkgver=1.0.1
-pkgrel=1
+pkgrel=2
pkgdesc="A CLI tool that notify the user when there is an update, excluding AUR"
arch=('any')
url="https://github.com/HOuadhour/alun"
@@ -22,6 +22,6 @@ sha256sums=(
validpgpkeys=('6481A7A3E66A3AA39D0DD7302A60AB408C14BF70')
package() {
- cd $pkgdir
- tar -xf $srcdir/$pkgname-$pkgver.tar.gz
+ cd $srcdir
+ cp -a --no-preserve=ownership usr etc $pkgdir
}