# Template file for 'delve'
pkgname=delve
version=1.22.1
revision=1
# 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=fe6f0d97c233d4f0f1ed422c11508cc57c14e9e0915f9a258f1912c46824cbfb

post_install() {
	vlicense LICENSE
	vmkdir "usr/share/doc/${pkgname}"
	vcopy Documentation/* "usr/share/doc/${pkgname}"
}
