[arch-commits] Commit in terraform-provider-keycloak/trunk (PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Tue May 19 05:14:43 UTC 2020


    Date: Tuesday, May 19, 2020 @ 05:14:42
  Author: svenstaro
Revision: 629783

upgpkg: terraform-provider-keycloak 1.18.0-2

Modified:
  terraform-provider-keycloak/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-19 05:11:55 UTC (rev 629782)
+++ PKGBUILD	2020-05-19 05:14:42 UTC (rev 629783)
@@ -2,18 +2,21 @@
 
 pkgname=terraform-provider-keycloak
 pkgver=1.18.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Terraform provider for Keycloak"
 url="https://github.com/mrparkers/terraform-provider-keycloak"
 arch=("x86_64")
 license=("MPL")
-makedepends=("go-pie")
+makedepends=("go")
 source=("$pkgname-$pkgver.tar.gz::https://github.com/mrparkers/terraform-provider-keycloak/archive/$pkgver.tar.gz")
 sha256sums=('0066f5ede91650ebe71b2981933de6cfd6f2c9da90d5fbfaf42cb6d53ce28fb4')
 
 build() {
   export CGO_LDFLAGS="${LDFLAGS}"
-  export GOFLAGS="-trimpath"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
 
   cd $pkgname-$pkgver
   go build .


More information about the arch-commits mailing list