mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
community/go to 1.17.4-1
This commit is contained in:
parent
f813501d4f
commit
70b3d33929
1 changed files with 4 additions and 8 deletions
|
@ -1,4 +1,5 @@
|
|||
# Maintainer: Morten Linderud <foxboron@archlinux.org>
|
||||
# Contributor: Daniel Martí <mvdan@mvdan.cc>
|
||||
# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
|
||||
# Contributor: Alexander F. Rødseth <xyproto@archlinux.org>
|
||||
# Contributor: Pierre Neidhardt <ambrevar@gmail.com>
|
||||
|
@ -16,7 +17,7 @@
|
|||
|
||||
pkgname=go
|
||||
epoch=2
|
||||
pkgver=1.17.3
|
||||
pkgver=1.17.4
|
||||
pkgrel=1
|
||||
pkgdesc='Core compiler tools for the Go programming language'
|
||||
arch=(x86_64)
|
||||
|
@ -28,7 +29,7 @@ provides=(go-pie)
|
|||
options=(!strip staticlibs)
|
||||
source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz{,.asc})
|
||||
validpgpkeys=('EB4C1BFD4F042F6DDDCCEC917721F63BD38B4796')
|
||||
sha256sums=('705c64251e5b25d5d55ede1039c6aa22bea40a7a931d14c370339853643c3df0'
|
||||
sha256sums=('4bef3699381ef09e075628504187416565d710660fec65b057edf1ceb187fc4b'
|
||||
'SKIP')
|
||||
|
||||
case "$CARCH" in
|
||||
|
@ -44,20 +45,15 @@ build() {
|
|||
export GOROOT_BOOTSTRAP=/usr/lib/go
|
||||
export GOPATH="$srcdir/"
|
||||
export GOROOT="$srcdir/$pkgname"
|
||||
export GOBIN="$GOROOT/bin"
|
||||
|
||||
cd "$pkgname/src"
|
||||
./make.bash --no-clean -v
|
||||
|
||||
PATH="$GOBIN:$PATH" go install -v std
|
||||
./make.bash -v
|
||||
}
|
||||
|
||||
check() {
|
||||
export GOROOT_FINAL=/usr/lib/go
|
||||
export GOROOT_BOOTSTRAP=/usr/lib/go
|
||||
export GOROOT="$srcdir/$pkgname"
|
||||
export GOBIN="$GOROOT/bin"
|
||||
export PATH="$srcdir/$pkgname/bin:$PATH"
|
||||
export GO_TEST_TIMEOUT_SCALE=3
|
||||
|
||||
cd $pkgname/src
|
||||
|
|
Loading…
Reference in a new issue