community/go to 1.17.2-1

This commit is contained in:
David Beauchamp 2021-10-23 15:35:23 -04:00
parent 5577a99a37
commit fe25ea30b0

View file

@ -16,7 +16,7 @@
pkgname=go
epoch=2
pkgver=1.17.1
pkgver=1.17.2
pkgrel=1
pkgdesc='Core compiler tools for the Go programming language'
arch=(x86_64)
@ -28,7 +28,7 @@ provides=(go-pie)
options=(!strip staticlibs)
source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz{,.asc})
validpgpkeys=('EB4C1BFD4F042F6DDDCCEC917721F63BD38B4796')
sha256sums=('49dc08339770acd5613312db8c141eaf61779995577b89d93b541ef83067e5b1'
sha256sums=('2255eb3e4e824dd7d5fcdc2e7f84534371c186312e546fb1086a34c17752f431'
'SKIP')
case "$CARCH" in
@ -73,8 +73,7 @@ package() {
# TODO: Make split package for source files?
# This saves around 100 MB.
# Rest of the size is from the duplicate _race and _dynlib .a files
# cp -a bin pkg src lib misc api test "$pkgdir/usr/lib/go"
cp -a bin pkg src lib misc api "$pkgdir/usr/lib/go"
cp -a bin pkg src lib misc api test "$pkgdir/usr/lib/go"
cp -r doc/* "$pkgdir/usr/share/doc/go"
ln -sf /usr/lib/go/bin/go "$pkgdir/usr/bin/go"