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

Maxim Baz maximbaz at archlinux.org
Sun Sep 6 19:31:21 UTC 2020


    Date: Sunday, September 6, 2020 @ 19:31:20
  Author: maximbaz
Revision: 699331

upgpkg: croc 8.3.1-1

Modified:
  croc/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-06 19:18:59 UTC (rev 699330)
+++ PKGBUILD	2020-09-06 19:31:20 UTC (rev 699331)
@@ -2,7 +2,7 @@
 # Contributor: Mikuro Kagamine <mikurok at forgecrushing.com>
 
 pkgname=croc
-pkgver=8.3.0
+pkgver=8.3.1
 pkgrel=1
 pkgdesc='Easily and securely send things from one computer to another.'
 arch=('x86_64')
@@ -11,12 +11,15 @@
 depends=('glibc')
 makedepends=('go')
 source=("${url}/releases/download/v${pkgver}/${pkgname}_${pkgver}_src.tar.gz")
-sha256sums=('3d9e09854e269ae61af17e653b3b2038ce2dda3b5a5830a1b4138b1c2724a190')
+sha256sums=('58dbe55cdbd0c8255c40ac5045676b7e8a0af8e21732f80502efc8cd27330d87')
 
 build() {
     cd "${pkgname}-${pkgver}"
-    export CGO_LDFLAGS="$LDFLAGS"
-    export GOFLAGS="-buildmode=pie -trimpath -mod=vendor -modcacherw"
+    export CGO_CPPFLAGS="${CPPFLAGS}"
+    export CGO_CFLAGS="${CFLAGS}"
+    export CGO_CXXFLAGS="${CXXFLAGS}"
+    export CGO_LDFLAGS="${LDFLAGS}"
+    export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
     go build
 }
 



More information about the arch-commits mailing list