community/go to 1.15.3-1

This commit is contained in:
Kevin Mihelich 2020-10-16 18:51:57 +00:00
parent 0124407b2f
commit cf5ef96fcd

View file

@ -17,7 +17,7 @@
pkgname=go
epoch=2
pkgver=1.15.2
pkgver=1.15.3
pkgrel=1
pkgdesc='Core compiler tools for the Go programming language'
arch=(x86_64)
@ -27,10 +27,17 @@ makedepends=(git go perl)
replaces=(go-pie)
provides=(go-pie)
options=(!strip staticlibs)
source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz{,.asc})
source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz{,.asc}
"fix-color.patch::https://github.com/golang/go/commit/29634436fd741a7c685bf8f242b6fd62f093d1ad.patch")
validpgpkeys=('EB4C1BFD4F042F6DDDCCEC917721F63BD38B4796')
sha256sums=('28bf9d0bcde251011caae230a4a05d917b172ea203f2a62f2c2f9533589d4b4d'
'SKIP')
sha256sums=('896a602570e54c8cdfc2c1348abd4ffd1016758d0bd086ccd9787dbfc9b64888'
'SKIP'
'f6bf4c18e4395bdd4925b1f15a713fa3daca0a28123d6c20d51234d7ce2d3357')
prepare() {
cd "${pkgname}"
patch -Np1 < "$srcdir/fix-color.patch"
}
case "$CARCH" in
x86_64) export GOARCH=amd64 ;;