Date: Tuesday, January 24, 2023 @ 23:36:09
  Author: grawlinson
Revision: 1388177

upgpkg: drone-cli 1.7.0-1; new upstream release

Modified:
  drone-cli/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-01-24 23:33:11 UTC (rev 1388176)
+++ PKGBUILD    2023-01-24 23:36:09 UTC (rev 1388177)
@@ -4,7 +4,7 @@
 # Contributor: Christian Höppner <[email protected]>
 
 pkgname=drone-cli
-pkgver=1.6.2
+pkgver=1.7.0
 pkgrel=1
 pkgdesc='Command line interface for Drone CI'
 arch=('x86_64')
@@ -13,7 +13,7 @@
 depends=('glibc')
 makedepends=('go' 'git')
 options=('!lto')
-_commit='24bea58512640de52ef16c45f48645e255d8b46c'
+_commit='c75a1a82d46e687d2d961115c849bf3a137b8e9d'
 
source=("$pkgname::git+https://github.com/harness/drone-cli.git#commit=$_commit";)
 md5sums=('SKIP')
 
@@ -39,13 +39,16 @@
   export CGO_CPPFLAGS="${CPPFLAGS}"
   export CGO_CFLAGS="${CFLAGS}"
   export CGO_CXXFLAGS="${CXXFLAGS}"
+  export GOPATH="${srcdir}"
 
   go build -v \
-    -trimpath \
     -buildmode=pie \
     -mod=readonly \
     -modcacherw \
-    -ldflags "-linkmode external -extldflags ${LDFLAGS} -X 
main.version=$pkgver" \
+    -ldflags "-compressdwarf=false \
+    -linkmode external \
+    -extldflags ${LDFLAGS} \
+    -X main.version=$pkgver" \
     -o build \
     ./...
 }
@@ -52,6 +55,7 @@
 
 check() {
   cd "$pkgname"
+
   go test -v ./...
 }
 

Reply via email to