mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
community/go to 1.18.3-1
This commit is contained in:
parent
f3832f5dff
commit
2664240d49
1 changed files with 9 additions and 4 deletions
|
@ -17,19 +17,19 @@
|
||||||
|
|
||||||
pkgname=go
|
pkgname=go
|
||||||
epoch=2
|
epoch=2
|
||||||
pkgver=1.18.2
|
pkgver=1.18.3
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc='Core compiler tools for the Go programming language'
|
pkgdesc='Core compiler tools for the Go programming language'
|
||||||
arch=(x86_64)
|
arch=(x86_64)
|
||||||
url='https://golang.org/'
|
url='https://golang.org/'
|
||||||
license=(BSD)
|
license=(BSD)
|
||||||
makedepends=(git go perl)
|
makedepends=(git go)
|
||||||
replaces=(go-pie)
|
replaces=(go-pie)
|
||||||
provides=(go-pie)
|
provides=(go-pie)
|
||||||
options=(!strip staticlibs)
|
options=(!strip staticlibs)
|
||||||
source=(https://storage.googleapis.com/golang/go$pkgver.src.tar.gz{,.asc})
|
source=(https://go.dev/dl/go${pkgver}.src.tar.gz{,.asc})
|
||||||
validpgpkeys=('EB4C1BFD4F042F6DDDCCEC917721F63BD38B4796')
|
validpgpkeys=('EB4C1BFD4F042F6DDDCCEC917721F63BD38B4796')
|
||||||
sha256sums=('2c44d03ea2c34092137ab919ba602f2c261a038d08eb468528a3f3a28e5667e2'
|
sha256sums=('0012386ddcbb5f3350e407c679923811dbd283fcdc421724931614a842ecbc2d'
|
||||||
'SKIP')
|
'SKIP')
|
||||||
|
|
||||||
case "$CARCH" in
|
case "$CARCH" in
|
||||||
|
@ -62,6 +62,11 @@ package() {
|
||||||
"$pkgdir/usr/lib/go/pkg/linux_amd64_"{dynlink,race}
|
"$pkgdir/usr/lib/go/pkg/linux_amd64_"{dynlink,race}
|
||||||
|
|
||||||
cp -a bin pkg src lib misc api test "$pkgdir/usr/lib/go"
|
cp -a bin pkg src lib misc api test "$pkgdir/usr/lib/go"
|
||||||
|
# We can't strip all binaries and libraries,
|
||||||
|
# as that also strips some testdata directories and breaks the tests.
|
||||||
|
# Just strip the packaged binaries as a compromise.
|
||||||
|
strip $STRIP_BINARIES "$pkgdir/usr/lib/go"{/bin/*,/pkg/tool/*/*}
|
||||||
|
|
||||||
cp -r doc/* "$pkgdir/usr/share/doc/go"
|
cp -r doc/* "$pkgdir/usr/share/doc/go"
|
||||||
|
|
||||||
ln -sf /usr/lib/go/bin/go "$pkgdir/usr/bin/go"
|
ln -sf /usr/lib/go/bin/go "$pkgdir/usr/bin/go"
|
||||||
|
|
Loading…
Reference in a new issue