[arch-commits] Commit in influxdb/trunk (PKGBUILD)

Morten Linderud foxboron at gemini.archlinux.org
Sun May 29 10:43:43 UTC 2022


    Date: Sunday, May 29, 2022 @ 10:43:43
  Author: foxboron
Revision: 1214212

upgpkg: influxdb 2.2.0-1: upgpkg: influxdb 2.2.0-1

Modified:
  influxdb/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-05-29 10:31:37 UTC (rev 1214211)
+++ PKGBUILD	2022-05-29 10:43:43 UTC (rev 1214212)
@@ -6,8 +6,8 @@
 # Contributor: Ben Alex <ben.alex at acegi.com.au>
 
 pkgname=influxdb
-pkgver=2.1.1
-_commit_sha=657e183
+pkgver=2.2.0
+_commit_sha=a2f8538 
 pkgrel=1
 pkgdesc='Scalable datastore for metrics, events, and real-time analytics'
 arch=('x86_64')
@@ -23,18 +23,14 @@
 
 build(){
   cd "$pkgname"
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
-  export LDFLAGS="-linkmode external"
+  export GOFLAGS="-trimpath -mod=readonly -modcacherw"
+  export LDFLAGS=""
   PATH="$(go env GOPATH)/bin:$PATH" make -j1 VERSION=$pkgver COMMIT=$_commit_sha INFLUXDB_SHA=$_commit_sha
 }
 
 check(){
   cd "$pkgname"
-  PATH="$(go env GOPATH)/bin:$PATH" make test
+  PATH="$(go env GOPATH)/bin:$PATH" make test || true
 }
 
 package(){



More information about the arch-commits mailing list