diff options
author | sharethewisdom | 2019-11-25 16:04:51 +0100 |
---|---|---|
committer | sharethewisdom | 2019-11-25 16:04:51 +0100 |
commit | 6041832acb937c25e86fdcea887383a8dc573767 (patch) | |
tree | d16b8dd66e62101c5872ca10230d4e67d8008dc7 | |
parent | 5a9b5ae3e2301a7f72299969192061e95d904122 (diff) | |
download | aur-6041832acb937c25e86fdcea887383a8dc573767.tar.gz |
fixed permissions problem when makepkg tries to remove $srcdir
-rw-r--r-- | .SRCINFO | 1 | ||||
-rw-r--r-- | PKGBUILD | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -14,3 +14,4 @@ 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 a+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 -fR a+wX "$srcdir/$pkgname/*" } warn_build_references() { |