void-packages/srcpkgs/delve/template

23 lines
793 B
Bash

# Template file for 'delve'
pkgname=delve
version=1.21.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=f00321e9333a61cb10c18141484c44ed55b1da1c4239a3f4faf2100b64613199
post_install() {
vlicense LICENSE
vmkdir "usr/share/doc/${pkgname}"
vcopy Documentation/* "usr/share/doc/${pkgname}"
}