diff options
author | John Ramsden | 2020-03-15 15:10:02 -0700 |
---|---|---|
committer | John Ramsden | 2020-03-15 15:13:13 -0700 |
commit | de8e44bc9215cf26fd7361a9d90b23ba53905f51 (patch) | |
tree | cf2d90e2f7aa72022fa9a575ff7f2682ead33e5c | |
parent | 6a013df20ba510a82f5275f865fda230d02448c2 (diff) | |
download | aur-de8e44bc9215cf26fd7361a9d90b23ba53905f51.tar.gz |
Stop using go-pie in favor of -buildmode=pie
See:
* lists.archlinux.org/pipermail/arch-dev-public/2020-March/029898.html
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 7 insertions, 4 deletions
@@ -1,11 +1,11 @@ pkgbase = zrepl pkgdesc = One-stop ZFS backup & replication solution pkgver = 0.2.1 - pkgrel = 1 + pkgrel = 2 url = https://zrepl.github.io/ arch = x86_64 license = MIT - depends = go-pie + depends = go provides = zrepl conflicts = zrepl-bin source = https://github.com/zrepl/zrepl/archive/v0.2.1.tar.gz @@ -2,14 +2,14 @@ pkgname=zrepl pkgver=0.2.1 -pkgrel=1 +pkgrel=2 pkgdesc='One-stop ZFS backup & replication solution' arch=('x86_64') url='https://zrepl.github.io/' license=('MIT') provides=('zrepl') conflicts=('zrepl-bin') -depends=('go-pie') +depends=('go') source=("https://github.com/${pkgname}/${pkgname}/archive/v${pkgver}.tar.gz") sha256sums=('df474e70f5a51d84816ee8a06038ded167a7548e547e2d2822c313f088eeeafd') @@ -20,7 +20,10 @@ build() { cd "${pkgname}-${pkgver}" go build \ -trimpath \ + -buildmode=pie \ + -mod=vendor \ -mod=readonly \ + -modcacherw \ -ldflags "${GO_LDFLAGS} -extldflags ${LDFLAGS}" \ -o "${pkgname}" . } |