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

Morten Linderud foxboron at gemini.archlinux.org
Wed Jul 6 22:01:58 UTC 2022


    Date: Wednesday, July 6, 2022 @ 22:01:58
  Author: foxboron
Revision: 1246788

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   59 ++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 30 insertions(+), 29 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-07-06 22:01:53 UTC (rev 1246787)
+++ PKGBUILD	2022-07-06 22:01:58 UTC (rev 1246788)
@@ -1,29 +0,0 @@
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-
-pkgname=delve
-pkgver=1.8.3
-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=('b18dc56de8768da055125663e7c368ecf24cdac4d72d9080ac90dc0ee99ea852')
-
-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"
-}

Copied: delve/repos/community-x86_64/PKGBUILD (from rev 1246787, delve/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-07-06 22:01:58 UTC (rev 1246788)
@@ -0,0 +1,30 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+
+pkgname=delve
+pkgver=1.9.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')
+optdepends=('debuginfod: debuginfod support')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/go-delve/delve/archive/v${pkgver}.tar.gz")
+sha256sums=('daec5909ce6e44b7b2c49eea90b4aa964d2ff96c1e875b09891a26546f9ae871')
+
+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"
+  cp -rf /tmp "${srcdir}"
+}



More information about the arch-commits mailing list