[arch-commits] Commit in go-bindata-hashicorp/trunk (PKGBUILD)
Morten Linderud
foxboron at archlinux.org
Sun Jul 5 15:22:44 UTC 2020
Date: Sunday, July 5, 2020 @ 15:22:41
Author: foxboron
Revision: 657863
upgpkg: go-bindata-hashicorp 3.0.7+bf7910af-3
Updated to current go package guidelines
Modified:
go-bindata-hashicorp/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-05 15:21:07 UTC (rev 657862)
+++ PKGBUILD 2020-07-05 15:22:41 UTC (rev 657863)
@@ -6,13 +6,13 @@
_pkgname=go-bindata
_commit=bf7910af899725e4938903fb32048c7c0b15f12e
pkgver=3.0.7+bf7910af
-pkgrel=2
+pkgrel=3
pkgdesc="A small utility which generates Go code from any file (Hashicorp version)"
arch=('x86_64')
url='https://github.com/hashicorp/go-bindata'
license=('CC0 1.0')
depends=('glibc')
-makedepends=('go-pie' 'git')
+makedepends=('go' 'git')
source=("git+https://github.com/hashicorp/go-bindata#commit=${_commit}")
sha512sums=('SKIP')
provides=('go-bindata')
@@ -25,6 +25,11 @@
build() {
cd "${srcdir}/src/github.com/hashicorp/go-bindata/go-bindata"
+ export CGO_CPPFLAGS="${CPPFLAGS}"
+ export CGO_CFLAGS="${CFLAGS}"
+ export CGO_CXXFLAGS="${CXXFLAGS}"
+ export CGO_LDFLAGS="${LDFLAGS}"
+ export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
GOPATH="${srcdir}" go build
}
More information about the arch-commits
mailing list