diff options
-rw-r--r-- | .SRCINFO | 1 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 1 insertions, 5 deletions
@@ -14,4 +14,3 @@ pkgbase = pistol-git pkgname = pistol-git - @@ -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() { |