delve: update to 1.3.0

This commit is contained in:
Renato Aguiar 2019-08-28 12:29:49 -07:00 committed by Helmut Pozimski
parent 3b50d46a6c
commit 0277e6fc8c
1 changed files with 14 additions and 4 deletions

View File

@ -1,20 +1,30 @@
# Template file for 'delve'
pkgname=delve
version=1.2.0
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/cmd/dlv
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/v${version}.tar.gz"
checksum=eebf6cd9647a2c3987fd38e8dd6e0e968ff41300cab20dc178a789a77b92627d
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}"
}