From 96b9ec6b4c9043b1a3b7740ed0fbf5a64cca7d44 Mon Sep 17 00:00:00 2001 From: Daniel Lewan Date: Sat, 4 Dec 2021 00:01:44 +0100 Subject: [PATCH] go: update URLs and install VERSION file --- srcpkgs/go/template | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/srcpkgs/go/template b/srcpkgs/go/template index 9aa551c74c5304..cc66dc6c7f46ee 100644 --- a/srcpkgs/go/template +++ b/srcpkgs/go/template @@ -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 " 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.