author | George Rawlinson
<grawlinson@archlinux.org> 2023-08-09 02:01:44 UTC |
committer | George Rawlinson
<grawlinson@archlinux.org> 2023-08-09 02:01:44 UTC |
parent | 2e463df9b60d317cea3981602cf6e139c0455f75 |
.SRCINFO | +4 | -4 |
PKGBUILD | +5 | -2 |
diff --git a/.SRCINFO b/.SRCINFO index 41a9b28..6d6a19d 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = go pkgdesc = Core compiler tools for the Go programming language - pkgver = 1.20.7 + pkgver = 1.21.0 pkgrel = 1 epoch = 2 url = https://golang.org/ @@ -12,10 +12,10 @@ pkgbase = go replaces = go-pie options = !strip options = staticlibs - source = https://go.dev/dl/go1.20.7.src.tar.gz - source = https://go.dev/dl/go1.20.7.src.tar.gz.asc + source = https://go.dev/dl/go1.21.0.src.tar.gz + source = https://go.dev/dl/go1.21.0.src.tar.gz.asc validpgpkeys = EB4C1BFD4F042F6DDDCCEC917721F63BD38B4796 - sha256sums = 2c5ee9c9ec1e733b0dbbc2bdfed3f62306e51d8172bf38f4f4e542b27520f597 + sha256sums = 818d46ede85682dd551ad378ef37a4d247006f12ec59b5b755601d2ce114369a sha256sums = SKIP pkgname = go diff --git a/PKGBUILD b/PKGBUILD index c92516b..9d6c429 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -14,7 +14,7 @@ pkgname=go epoch=2 -pkgver=1.20.7 +pkgver=1.21.0 pkgrel=1 pkgdesc='Core compiler tools for the Go programming language' arch=(x86_64) @@ -26,7 +26,7 @@ provides=(go-pie) options=(!strip staticlibs) source=(https://go.dev/dl/go${pkgver}.src.tar.gz{,.asc}) validpgpkeys=('EB4C1BFD4F042F6DDDCCEC917721F63BD38B4796') -sha256sums=('2c5ee9c9ec1e733b0dbbc2bdfed3f62306e51d8172bf38f4f4e542b27520f597' +sha256sums=('818d46ede85682dd551ad378ef37a4d247006f12ec59b5b755601d2ce114369a' 'SKIP') build() { @@ -71,6 +71,9 @@ package() { # TODO: Figure out if really needed rm -rf "$pkgdir"/usr/lib/go/pkg/obj/go-build + # https://github.com/golang/go/issues/57179 + install -Dm644 go.env "$pkgdir/usr/lib/go/go.env" + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" }