Skip to content
Snippets Groups Projects
Commit 4ef6543d authored by Sören Tempel's avatar Sören Tempel
Browse files

testing/delve: new aport

parent 69eca5e6
No related branches found
No related tags found
1 merge request!19827testing/delve: new aport
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer:
pkgname=delve
pkgver=1.6.0
pkgrel=0
pkgdesc="Debugger for the Go programming language"
url="https://github.com/go-delve/delve"
arch="x86 x86_64 aarch64"
license="MIT"
makedepends="go"
# TODO: Tests require proper GOPATH setup
options="net chmod-clean !check"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/go-delve/delve/archive/refs/tags/v$pkgver.tar.gz"
export GOPATH="$srcdir"
build() {
mkdir bin
go build -trimpath -o bin ./cmd/dlv/...
}
package() {
install -Dm755 bin/* -t "$pkgdir"/usr/bin/
# Install additional documentation files.
mkdir -p "$pkgdir"/usr/share/doc/$pkgname
cp -r Documentation/* "$pkgdir"/usr/share/doc/$pkgname
}
sha512sums="3a0a59304284ea67e9c9be82816ad7c46979495ced22cf372739c254397d3bb3469b6a2de28f268dc704ddbe0282cf9fb3e3a3a1717f0c2921dc31e78c9ed0e3 delve-1.6.0.tar.gz"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment