void-packages/srcpkgs/delve/template

22 lines
770 B
Bash

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