author | Morten Linderud
<foxboron@archlinux.org> 2021-10-23 18:57:29 UTC |
committer | Morten Linderud
<foxboron@archlinux.org> 2021-10-23 18:57:29 UTC |
parent | 98312f48dd40ecc5da8f95cb3775034cf1aab713 |
PKGBUILD | +3 | -4 |
diff --git a/PKGBUILD b/PKGBUILD index ca5e140..779f8b5 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -13,7 +13,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) @@ -25,7 +25,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') build() { @@ -64,8 +64,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"