mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
community/go to 1.11.5-1
This commit is contained in:
parent
a802a55e69
commit
3d28ede0b9
1 changed files with 3 additions and 2 deletions
|
@ -18,7 +18,7 @@
|
|||
pkgbase=go
|
||||
pkgname=(go go-pie)
|
||||
epoch=2
|
||||
pkgver=1.11.4
|
||||
pkgver=1.11.5
|
||||
pkgrel=1
|
||||
arch=(x86_64)
|
||||
url='https://golang.org/'
|
||||
|
@ -26,7 +26,7 @@ license=(BSD)
|
|||
makedepends=(git go)
|
||||
source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz
|
||||
default-buildmode-pie.patch)
|
||||
sha256sums=('4cfd42720a6b1e79a8024895fa6607b69972e8e32446df76d6ce79801bbadb15'
|
||||
sha256sums=('bc1ef02bb1668835db1390a2e478dcbccb5dd16911691af9d75184bbe5aa943e'
|
||||
'9d2f0d201d4e002d74f548cc82bd131139bab5dd62191004c71dd430fdc1666d')
|
||||
|
||||
export GOOS=linux
|
||||
|
@ -50,6 +50,7 @@ prepare() {
|
|||
|
||||
build() {
|
||||
export GOPATH="$srcdir/"
|
||||
export GO_GCFLAGS="-trimpath=$GOPATH"
|
||||
|
||||
for _pkgname in ${pkgname[@]}; do
|
||||
export GOROOT="$srcdir/$_pkgname"
|
||||
|
|
Loading…
Reference in a new issue