diff options
author | sharethewisdom | 2019-11-25 16:20:45 +0100 |
---|---|---|
committer | sharethewisdom | 2019-11-25 16:20:45 +0100 |
commit | 87db945df551e627c6fe2b859d68e1d5a7ffe5d7 (patch) | |
tree | 868a8344f56417ac3b5b9a2cdaadc33ca50c2195 | |
parent | f2b508e380222f17a7183ff62f5ba3e71233829f (diff) | |
download | aur-87db945df551e627c6fe2b859d68e1d5a7ffe5d7.tar.gz |
fixed permissions problem when makepkg tries to remove $srcdir
-rw-r--r-- | .SRCINFO | 1 | ||||
-rw-r--r-- | PKGBUILD | 2 |
2 files changed, 1 insertions, 2 deletions
@@ -14,4 +14,3 @@ pkgbase = pistol-git pkgname = pistol-git - @@ -24,12 +24,12 @@ build() { # -fix flag is a no-op when using modules GOPATH="$srcdir" go get -v "$_gourl/cmd/pistol" strip -x "$srcdir/bin/pistol" + chmod -R u+wX "$srcdir/$pkgname/*" } package() { install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" "$srcdir/$pkgname/LICENSE" install -Dm755 "$srcdir/bin/pistol" "$pkgdir/usr/bin/pistol" - chmod -R u+wX "$srcdir/$pkgname/*" } warn_build_references() { |