diff options
author | sharethewisdom | 2019-11-25 15:59:11 +0100 |
---|---|---|
committer | sharethewisdom | 2019-11-25 15:59:11 +0100 |
commit | 5a9b5ae3e2301a7f72299969192061e95d904122 (patch) | |
tree | 15142dde5d6946aad27a47d0d5aac21a65ffe816 /PKGBUILD | |
parent | cc0c05cade929aed6bf2002c78734e5b637047ec (diff) | |
download | aur-5a9b5ae3e2301a7f72299969192061e95d904122.tar.gz |
fixed permissions problem when makepkg tries to remove $srcdir
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -19,15 +19,12 @@ pkgver() { git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } -prepare() { - chmod -R a+wX "$srcdir/$pkgname" -} - build() { cd "$srcdir/$pkgname" # -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() { |