git » go-1.20.git » commit 37c8332

upgpkg: 2:1.11-1

author Morten Linderud
2018-09-02 14:00:57 UTC
committer Morten Linderud
2018-09-02 14:00:57 UTC
parent 0b3c30e6fe6d42b1e4b632a01364ff123fd2dd2a

upgpkg: 2:1.11-1

PKGBUILD +6 -2

diff --git a/PKGBUILD b/PKGBUILD
index 0ad36ad..542eb09 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,9 +1,10 @@
 # Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
+# Maintainer: Morten Linderud <foxboron@archlinux.org>
 
 pkgbase=go
 pkgname=(go go-pie)
 epoch=2
-pkgver=1.10.3
+pkgver=1.11
 pkgrel=1
 arch=(x86_64)
 url='http://golang.org/'
@@ -11,7 +12,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
@@ -72,6 +73,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() {