community/go to 1.11-1

This commit is contained in:
Kevin Mihelich 2018-09-03 18:03:53 +00:00
parent fca0577f63
commit deea04daed

View file

@ -1,5 +1,5 @@
# $Id$
# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
# Maintainer: Morten Linderud <foxboron@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - added switches for our architectures
@ -8,7 +8,7 @@
pkgbase=go
pkgname=(go go-pie)
epoch=2
pkgver=1.10.3
pkgver=1.11
pkgrel=1
arch=(x86_64)
url='http://golang.org/'
@ -16,7 +16,7 @@ license=(BSD)
makedepends=(git go)
source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz
default-buildmode-pie.patch)
sha256sums=('567b1cc66c9704d1c019c50bef946272e911ec6baf244310f87f4e678be155f2'
sha256sums=('afc1e12f5fe49a471e3aae7d906c73e9d5b1fdd36d52d72652dde8f6250152fb'
'9d2f0d201d4e002d74f548cc82bd131139bab5dd62191004c71dd430fdc1666d')
export GOOS=linux
@ -81,6 +81,9 @@ _package() {
rm -rf "$pkgdir/usr/lib/go/pkg/bootstrap"
rm -rf "$pkgdir/usr/lib/go/pkg/tool/*/api"
# TODO: Figure out if really needed
rm -rf "$pkgdir"/usr/lib/go/pkg/obj/go-build/*
}
package_go() {