Commit 82355b0d authored by Francesco Marinucci's avatar Francesco Marinucci

[testing] go: update to 1.12.5 (see #141 and #142)

parent d1fbc141
Pipeline #3599 failed with stages
in 48 seconds
pkgbase=go
pkgname=(go go-pie)
pkgver=1.11.5
pkgver=1.12.5
pkgrel=1
arch=(x86_64)
url='http://golang.org/'
license=(BSD)
makedepends=(git go)
source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz
source=(https://dl.google.com/go/go${pkgver}.src.tar.gz
default-buildmode-pie.patch)
sha256sums=('bc1ef02bb1668835db1390a2e478dcbccb5dd16911691af9d75184bbe5aa943e'
sha256sums=('2aa5f088cbb332e73fc3def546800616b38d3bfe6b8713b8a6404060f22503e8'
'9d2f0d201d4e002d74f548cc82bd131139bab5dd62191004c71dd430fdc1666d')
export GOOS=linux
export GOARCH=amd64
export GOROOT_FINAL=/usr/lib/go
export GOROOT_BOOTSTRAP=/usr/lib/go
export GOCACHE=off
prepare() {
cp -r $pkgbase ${pkgbase}-pie
......@@ -36,6 +35,7 @@ build() {
PATH="$GOBIN:$PATH" go install -v -buildmode=shared std
PATH="$GOBIN:$PATH" go install -v -race std
PATH="$GOBIN:$PATH" go clean -cache
done
}
......@@ -74,7 +74,7 @@ _package() {
package_go() {
pkgdesc='Core compiler tools for the Go programming language'
provides=(go-pie)
provides=(go)
conflicts=(go-pie)
_package $pkgname
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment