mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
community/go to 1.16-1
This commit is contained in:
parent
bd64ac5b31
commit
7cd914d054
1 changed files with 7 additions and 14 deletions
|
@ -17,7 +17,7 @@
|
|||
|
||||
pkgname=go
|
||||
epoch=2
|
||||
pkgver=1.15.8
|
||||
pkgver=1.16
|
||||
pkgrel=1
|
||||
pkgdesc='Core compiler tools for the Go programming language'
|
||||
arch=(x86_64)
|
||||
|
@ -27,17 +27,10 @@ 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}
|
||||
"fix-color.patch::https://github.com/golang/go/commit/29634436fd741a7c685bf8f242b6fd62f093d1ad.patch")
|
||||
source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz{,.asc})
|
||||
validpgpkeys=('EB4C1BFD4F042F6DDDCCEC917721F63BD38B4796')
|
||||
sha256sums=('540c0ab7781084d124991321ed1458e479982de94454a98afab6acadf38497c2'
|
||||
'SKIP'
|
||||
'f6bf4c18e4395bdd4925b1f15a713fa3daca0a28123d6c20d51234d7ce2d3357')
|
||||
|
||||
prepare() {
|
||||
cd "${pkgname}"
|
||||
patch -Np1 < "$srcdir/fix-color.patch"
|
||||
}
|
||||
sha256sums=('7688063d55656105898f323d90a79a39c378d86fe89ae192eb3b7fc46347c95a'
|
||||
'SKIP')
|
||||
|
||||
case "$CARCH" in
|
||||
x86_64) export GOARCH=amd64 ;;
|
||||
|
@ -70,9 +63,9 @@ check() {
|
|||
export GO_TEST_TIMEOUT_SCALE=2
|
||||
|
||||
cd $pkgname/src
|
||||
rm os/signal/signal_cgo_test.go # TODO: There is a bug somewhere.
|
||||
# Should only affect containers
|
||||
# so lets just say No.
|
||||
# rm os/signal/signal_cgo_test.go # TODO: There is a bug somewhere.
|
||||
# # Should only affect containers
|
||||
# # so lets just say No.
|
||||
./run.bash --no-rebuild -v -v -v -k
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue