[arch-commits] Commit in croc/repos/community-x86_64 (PKGBUILD PKGBUILD)

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


    Date: Sunday, September 6, 2020 @ 19:31:24
  Author: maximbaz
Revision: 699332

archrelease: copy trunk to community-x86_64

Added:
  croc/repos/community-x86_64/PKGBUILD
    (from rev 699331, croc/trunk/PKGBUILD)
Deleted:
  croc/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   69 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 36 insertions(+), 33 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-06 19:31:20 UTC (rev 699331)
+++ PKGBUILD	2020-09-06 19:31:24 UTC (rev 699332)
@@ -1,33 +0,0 @@
-# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
-# Contributor: Mikuro Kagamine <mikurok at forgecrushing.com>
-
-pkgname=croc
-pkgver=8.3.0
-pkgrel=1
-pkgdesc='Easily and securely send things from one computer to another.'
-arch=('x86_64')
-url="https://github.com/schollz/${pkgname}"
-license=('MIT')
-depends=('glibc')
-makedepends=('go')
-source=("${url}/releases/download/v${pkgver}/${pkgname}_${pkgver}_src.tar.gz")
-sha256sums=('3d9e09854e269ae61af17e653b3b2038ce2dda3b5a5830a1b4138b1c2724a190')
-
-build() {
-    cd "${pkgname}-${pkgver}"
-    export CGO_LDFLAGS="$LDFLAGS"
-    export GOFLAGS="-buildmode=pie -trimpath -mod=vendor -modcacherw"
-    go build
-}
-
-check() {
-    cd "${pkgname}-${pkgver}"
-    go test ./...
-}
-
-package() {
-    cd "${pkgname}-${pkgver}"
-    install -Dm755 -t "${pkgdir}/usr/bin/" "${pkgname}"
-    install -Dm644 -t "${pkgdir}/usr/lib/systemd/system/" "${pkgname}.service"
-    install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}/" LICENSE
-}

Copied: croc/repos/community-x86_64/PKGBUILD (from rev 699331, croc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-09-06 19:31:24 UTC (rev 699332)
@@ -0,0 +1,36 @@
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+# Contributor: Mikuro Kagamine <mikurok at forgecrushing.com>
+
+pkgname=croc
+pkgver=8.3.1
+pkgrel=1
+pkgdesc='Easily and securely send things from one computer to another.'
+arch=('x86_64')
+url="https://github.com/schollz/${pkgname}"
+license=('MIT')
+depends=('glibc')
+makedepends=('go')
+source=("${url}/releases/download/v${pkgver}/${pkgname}_${pkgver}_src.tar.gz")
+sha256sums=('58dbe55cdbd0c8255c40ac5045676b7e8a0af8e21732f80502efc8cd27330d87')
+
+build() {
+    cd "${pkgname}-${pkgver}"
+    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
+}
+
+check() {
+    cd "${pkgname}-${pkgver}"
+    go test ./...
+}
+
+package() {
+    cd "${pkgname}-${pkgver}"
+    install -Dm755 -t "${pkgdir}/usr/bin/" "${pkgname}"
+    install -Dm644 -t "${pkgdir}/usr/lib/systemd/system/" "${pkgname}.service"
+    install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}/" LICENSE
+}


More information about the arch-commits mailing list