void-packages/srcpkgs/delve/template

31 lines
894 B
Bash
Raw Normal View History

2019-02-22 17:35:45 +01:00
# Template file for 'delve'
pkgname=delve
2019-08-28 21:29:49 +02:00
version=1.3.0
2019-02-22 17:35:45 +01:00
revision=1
2019-08-28 21:29:49 +02:00
# Version bump to 1.3.0 has been done after the release tag, so using
# specific commit for this version.
_commit=dd3c2d63cc5b2aa84d7970eca0c91b45c71e9dd9
2019-02-22 17:35:45 +01:00
build_style=go
2019-08-28 21:29:49 +02:00
go_import_path="github.com/go-delve/delve"
go_package="${go_import_path}/cmd/dlv"
2019-02-22 17:35:45 +01:00
short_desc="Debugger for the Go programming language"
maintainer="Renato Aguiar <renato@renag.me>"
license="MIT"
homepage="https://github.com/go-delve/delve"
2019-08-28 21:29:49 +02:00
distfiles="https://github.com/go-delve/delve/archive/${_commit}.tar.gz"
checksum=1a3ac2e709dd5a373c0c4379f614b2e68c2e8fd848a725b9a97b8aaa25910319
2019-02-22 17:35:45 +01:00
2019-02-22 18:14:31 +01:00
case "$XBPS_TARGET_MACHINE" in
2019-02-24 19:19:45 +01:00
i686*|arm*|aarch64*|ppc*) broken=yes ;;
2019-02-22 18:14:31 +01:00
esac
2019-08-28 21:29:49 +02:00
post_extract() {
mv "${XBPS_BUILDDIR}/delve-${_commit}" "$wrksrc"
}
2019-02-22 17:35:45 +01:00
post_install() {
vlicense LICENSE
2019-08-28 21:29:49 +02:00
vmkdir "usr/share/doc/${pkgname}"
vcopy Documentation/* "usr/share/doc/${pkgname}"
2019-02-22 17:35:45 +01:00
}