mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-27 07:52:55 +02:00
go: update URLs and install VERSION file
This commit is contained in:
parent
b4f9337211
commit
9d420f0d91
1 changed files with 5 additions and 4 deletions
|
@ -1,16 +1,16 @@
|
||||||
# Template file for 'go'
|
# Template file for 'go'
|
||||||
pkgname=go
|
pkgname=go
|
||||||
version=1.17.2
|
version=1.17.2
|
||||||
revision=1
|
revision=2
|
||||||
create_wrksrc=yes
|
create_wrksrc=yes
|
||||||
build_wrksrc=go
|
build_wrksrc=go
|
||||||
hostmakedepends="go1.12-bootstrap"
|
hostmakedepends="go1.12-bootstrap"
|
||||||
short_desc="Go Programming Language"
|
short_desc="Go Programming Language"
|
||||||
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
||||||
license="BSD-3-Clause"
|
license="BSD-3-Clause"
|
||||||
homepage="https://golang.org/"
|
homepage="https://go.dev/"
|
||||||
changelog="https://golang.org/doc/devel/release.html"
|
changelog="https://go.dev/doc/devel/release.html"
|
||||||
distfiles="https://golang.org/dl/go${version}.src.tar.gz"
|
distfiles="https://go.dev/dl/go${version}.src.tar.gz"
|
||||||
checksum=2255eb3e4e824dd7d5fcdc2e7f84534371c186312e546fb1086a34c17752f431
|
checksum=2255eb3e4e824dd7d5fcdc2e7f84534371c186312e546fb1086a34c17752f431
|
||||||
nostrip=yes
|
nostrip=yes
|
||||||
noverifyrdeps=yes
|
noverifyrdeps=yes
|
||||||
|
@ -63,6 +63,7 @@ do_install() {
|
||||||
cp -a pkg src lib ${DESTDIR}/usr/lib/go
|
cp -a pkg src lib ${DESTDIR}/usr/lib/go
|
||||||
cp -r doc misc -t ${DESTDIR}/usr/share/go
|
cp -r doc misc -t ${DESTDIR}/usr/share/go
|
||||||
ln -s /usr/share/go/doc ${DESTDIR}/usr/lib/go/doc
|
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
|
# This is to make go get code.google.com/p/go-tour/gotour and
|
||||||
# then running the gotour executable work out of the box.
|
# then running the gotour executable work out of the box.
|
||||||
|
|
Loading…
Add table
Reference in a new issue