22 lines
637 B
Bash
22 lines
637 B
Bash
# Template file for 'delve'
|
|
pkgname=delve
|
|
version=1.3.2
|
|
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@renag.me>"
|
|
license="MIT"
|
|
homepage="https://github.com/go-delve/delve"
|
|
distfiles="https://github.com/go-delve/delve/archive/v${version}.tar.gz"
|
|
checksum=a1879caba7caee970e38b57aa81575b9b3e5a17f0ceef05e1f3d09d94f296e5c
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
i686*|arm*|aarch64*|ppc*) broken=yes ;;
|
|
esac
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
vmkdir "usr/share/doc/${pkgname}"
|
|
vcopy Documentation/* "usr/share/doc/${pkgname}"
|
|
}
|