go: update URLs and install VERSION file

This commit is contained in:
Daniel Lewan 2021-12-04 00:01:44 +01:00 committed by Érico Nogueira Rolim
parent b4f9337211
commit 9d420f0d91
1 changed files with 5 additions and 4 deletions

View File

@ -1,16 +1,16 @@
# Template file for 'go'
pkgname=go
version=1.17.2
revision=1
revision=2
create_wrksrc=yes
build_wrksrc=go
hostmakedepends="go1.12-bootstrap"
short_desc="Go Programming Language"
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://golang.org/"
changelog="https://golang.org/doc/devel/release.html"
distfiles="https://golang.org/dl/go${version}.src.tar.gz"
homepage="https://go.dev/"
changelog="https://go.dev/doc/devel/release.html"
distfiles="https://go.dev/dl/go${version}.src.tar.gz"
checksum=2255eb3e4e824dd7d5fcdc2e7f84534371c186312e546fb1086a34c17752f431
nostrip=yes
noverifyrdeps=yes
@ -63,6 +63,7 @@ do_install() {
cp -a pkg src lib ${DESTDIR}/usr/lib/go
cp -r doc misc -t ${DESTDIR}/usr/share/go
ln -s /usr/share/go/doc ${DESTDIR}/usr/lib/go/doc
cp VERSION ${DESTDIR}/usr/lib/go/VERSION
# This is to make go get code.google.com/p/go-tour/gotour and
# then running the gotour executable work out of the box.