summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Robert2020-06-01 14:22:30 +0200
committerDamien Robert2020-06-01 14:22:30 +0200
commit646e3dcd161b16cfc165576a2076af5d41dd8e88 (patch)
tree61f34a3bbeb540bd60fccad7f0df8bffba04fe64
parent45b857ea0c2f62ccc86d7e210113066a3460ff9e (diff)
downloadaur-path-extractor.tar.gz
upgpkg: uni 1.1.1-1
upstream release
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD9
2 files changed, 6 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8f8f02e51c7..ac2aeb9e29b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,11 @@
pkgbase = path-extractor
pkgdesc = A unix filter which outputs the filepaths found in stdin
pkgver = 0.2.0
- pkgrel = 2
+ pkgrel = 4
url = https://github.com/edi9999/path-extractor
arch = x86_64
license = NONE
- makedepends = go-pie
+ makedepends = go
source = https://github.com/edi9999/path-extractor/archive/v0.2.0.tar.gz
sha256sums = 7d6c7463e833305e6d27c63727fec1029651bfe8bca5e8d23ac7db920c2066e7
diff --git a/PKGBUILD b/PKGBUILD
index 266857e5dc1..0af7ec4725d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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