30 lines
894 B
Bash
30 lines
894 B
Bash
# Template file for 'delve'
|
|
pkgname=delve
|
|
version=1.3.0
|
|
revision=1
|
|
# Version bump to 1.3.0 has been done after the release tag, so using
|
|
# specific commit for this version.
|
|
_commit=dd3c2d63cc5b2aa84d7970eca0c91b45c71e9dd9
|
|
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="Renato Aguiar <renato@renag.me>"
|
|
license="MIT"
|
|
homepage="https://github.com/go-delve/delve"
|
|
distfiles="https://github.com/go-delve/delve/archive/${_commit}.tar.gz"
|
|
checksum=1a3ac2e709dd5a373c0c4379f614b2e68c2e8fd848a725b9a97b8aaa25910319
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
i686*|arm*|aarch64*|ppc*) broken=yes ;;
|
|
esac
|
|
|
|
post_extract() {
|
|
mv "${XBPS_BUILDDIR}/delve-${_commit}" "$wrksrc"
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
vmkdir "usr/share/doc/${pkgname}"
|
|
vcopy Documentation/* "usr/share/doc/${pkgname}"
|
|
}
|