23 lines
636 B
Bash
23 lines
636 B
Bash
# Template file for 'delve'
|
|
pkgname=delve
|
|
version=1.5.0
|
|
revision=1
|
|
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"
|
|
distfiles="https://github.com/go-delve/delve/archive/v${version}.tar.gz"
|
|
checksum=f8bbaecdfc9d1ff6148900d3dea44b6dd06a7f0197be4e9a75c289b7f62682ab
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
i686*|arm*|ppc*) broken=yes ;;
|
|
esac
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
vmkdir "usr/share/doc/${pkgname}"
|
|
vcopy Documentation/* "usr/share/doc/${pkgname}"
|
|
}
|