# Template file for 'delve'
pkgname=delve
version=1.8.0
revision=1
# https://github.com/go-delve/delve/blob/master/pkg/proc/native/support_sentinel.go
archs="x86_64* i686* aarch64*"
build_style=go
go_import_path=github.com/go-delve/delve/cmd/dlv
short_desc="Debugger for the Go programming language"
maintainer="Renato Aguiar <renato@renatoaguiar.net>"
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=086106a4776fa155bf20c37d27b9caed55255be6359c7f0bda1893d3adbb614e

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