diff options
author | Damien Robert | 2020-06-01 14:22:30 +0200 |
---|---|---|
committer | Damien Robert | 2020-06-01 14:22:30 +0200 |
commit | 646e3dcd161b16cfc165576a2076af5d41dd8e88 (patch) | |
tree | 61f34a3bbeb540bd60fccad7f0df8bffba04fe64 /PKGBUILD | |
parent | 45b857ea0c2f62ccc86d7e210113066a3460ff9e (diff) | |
download | aur-path-extractor.tar.gz |
upgpkg: uni 1.1.1-1
upstream release
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -1,6 +1,6 @@ pkgname=path-extractor pkgver=0.2.0 -pkgrel=3 +pkgrel=4 pkgdesc='A unix filter which outputs the filepaths found in stdin' arch=('x86_64') repo="github.com/edi9999/$pkgname" @@ -21,12 +21,11 @@ prepare() { } build() { + export CGO_LDFLAGS="$LDFLAGS" + export GOFLAGS="-buildmode=pie -trimpath -modcacherw" export GOPATH="$srcdir/gopath" cd "$gopkg" - go install \ - -trimpath \ - -ldflags "-extldflags ${LDFLAGS}" \ - -v ./... + go install -v ./... } # Skip check, they don't pass |