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

Morten Linderud foxboron at gemini.archlinux.org
Mon Feb 7 17:59:49 UTC 2022


    Date: Monday, February 7, 2022 @ 17:59:48
  Author: foxboron
Revision: 1128492

archrelease: copy trunk to community-x86_64

Added:
  delve/repos/community-x86_64/PKGBUILD
    (from rev 1128491, delve/trunk/PKGBUILD)
Deleted:
  delve/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   57 +++++++++++++++++++++++++++++----------------------------
 1 file changed, 29 insertions(+), 28 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-07 17:59:43 UTC (rev 1128491)
+++ PKGBUILD	2022-02-07 17:59:48 UTC (rev 1128492)
@@ -1,28 +0,0 @@
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-
-pkgname=delve
-pkgver=1.8.0
-pkgrel=1
-pkgdesc="A debugger for the Go programming language."
-arch=('x86_64')
-url="https://github.com/go-delve/delve"
-license=('MIT')
-makedepends=('go' 'git')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/go-delve/delve/archive/v${pkgver}.tar.gz")
-sha256sums=('086106a4776fa155bf20c37d27b9caed55255be6359c7f0bda1893d3adbb614e')
-
-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 ./cmd/dlv
-}
-
-package() {
-  cd "${pkgname}-${pkgver}"
-  install -Dm755 dlv "${pkgdir}/usr/bin/dlv"
-  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: delve/repos/community-x86_64/PKGBUILD (from rev 1128491, delve/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-02-07 17:59:48 UTC (rev 1128492)
@@ -0,0 +1,29 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+
+pkgname=delve
+pkgver=1.8.1
+pkgrel=1
+pkgdesc="A debugger for the Go programming language."
+arch=('x86_64')
+url="https://github.com/go-delve/delve"
+license=('MIT')
+makedepends=('go' 'git')
+optdepends=('debuginfod: debuginfod support')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/go-delve/delve/archive/v${pkgver}.tar.gz")
+sha256sums=('e5b2ec78add2a167e1fdc11e3e189dec1bbed2cd9b6e99b3d79c0630b4b83e37')
+
+build(){
+  cd "${pkgname}-${pkgver}"
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export GOFLAGS="-buildmode=pie -ldflags=-linkmode=external -ldflags=-compressdwarf=false -mod=readonly -modcacherw"
+  go build ./cmd/dlv
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  install -Dm755 dlv "${pkgdir}/usr/bin/dlv"
+  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}



More information about the arch-commits mailing list