summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Gerbet2020-05-19 02:27:27 +0200
committerThomas Gerbet2020-05-19 02:27:27 +0200
commitfa6df319b4b8708ef74469a1c597ace279b5fb31 (patch)
treeebc8e3408be144c6e6388d2b3ed915d8dd981525
parent9d73f83e7514c7bf03d1325ab720b5300eaab5a2 (diff)
downloadaur-fa6df319b4b8708ef74469a1c597ace279b5fb31.tar.gz
go-pie package does not exist anymore
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 201c33240488..4f63a9dcd112 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = yubikey-agent
pkgdesc = A seamless ssh-agent for YubiKeys
pkgver = 0.1.1
- pkgrel = 3
+ pkgrel = 4
url = https://filippo.io/yubikey-agent
arch = x86_64
license = BSD
diff --git a/PKGBUILD b/PKGBUILD
index a29679ba1858..7ce431ac6253 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
pkgname=yubikey-agent
pkgver=0.1.1
-pkgrel=3
+pkgrel=4
pkgdesc='A seamless ssh-agent for YubiKeys'
arch=('x86_64')
url="https://filippo.io/yubikey-agent"
@@ -27,6 +27,9 @@ build() {
cd $pkgname-$pkgver
go build \
-trimpath \
+ -buildmode=pie \
+ -mod=readonly \
+ -modcacherw \
-ldflags "-extldflags $LDFLAGS" \
-o $pkgname .
}