community/go to 1.18.2-1

This commit is contained in:
David Beauchamp 2022-05-14 10:17:45 -04:00
parent 062f9ca64c
commit 152187af88

View file

@ -17,7 +17,7 @@
pkgname=go
epoch=2
pkgver=1.18.1
pkgver=1.18.2
pkgrel=1
pkgdesc='Core compiler tools for the Go programming language'
arch=(x86_64)
@ -29,7 +29,7 @@ provides=(go-pie)
options=(!strip staticlibs)
source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz{,.asc})
validpgpkeys=('EB4C1BFD4F042F6DDDCCEC917721F63BD38B4796')
sha256sums=('efd43e0f1402e083b73a03d444b7b6576bb4c539ac46208b63a916b69aca4088'
sha256sums=('2c44d03ea2c34092137ab919ba602f2c261a038d08eb468528a3f3a28e5667e2'
'SKIP')
case "$CARCH" in
@ -73,7 +73,7 @@ package() {
rm -rf "$pkgdir/usr/lib/go/pkg/bootstrap" "$pkgdir/usr/lib/go/pkg/tool/*/api"
# TODO: Figure out if really needed
rm -rf "$pkgdir"/usr/lib/go/pkg/obj/go-build/*
rm -rf "$pkgdir"/usr/lib/go/pkg/obj/go-build
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}