void-packages/srcpkgs/delve/template

23 lines
793 B
Bash

# Template file for 'delve'
pkgname=delve
version=1.23.0
revision=2
# https://github.com/go-delve/delve/blob/master/pkg/proc/native/support_sentinel_linux.go
archs="x86_64* i686* aarch64*"
build_style=go
go_import_path=github.com/go-delve/delve
go_package="${go_import_path}/cmd/dlv"
short_desc="Debugger for the Go programming language"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/go-delve/delve"
changelog="https://raw.githubusercontent.com/go-delve/delve/master/CHANGELOG.md"
distfiles="https://github.com/go-delve/delve/archive/v${version}.tar.gz"
checksum=fed613f0457600a30713968c111bb1fc3b014a4ebb25acaaf45cdbd03f8337a1
post_install() {
vlicense LICENSE
vmkdir "usr/share/doc/${pkgname}"
vcopy Documentation/* "usr/share/doc/${pkgname}"
}