extra/go to 1.10.2-2

This commit is contained in:
Kevin Mihelich 2018-06-01 12:34:37 +00:00
parent 3cf6bd13cd
commit 485ce87d93

View file

@ -9,7 +9,7 @@ pkgbase=go
pkgname=(go go-pie)
epoch=2
pkgver=1.10.2
pkgrel=1
pkgrel=2
arch=(x86_64)
url='http://golang.org/'
license=(BSD)
@ -69,7 +69,7 @@ _package() {
cd "$srcdir/$1"
install -d "$pkgdir/usr/bin" "$pkgdir/usr/lib/go" "$pkgdir/usr/share/doc/go"
cp -a bin pkg src lib misc "$pkgdir/usr/lib/go"
cp -a bin pkg src lib misc api "$pkgdir/usr/lib/go"
cp -r doc/* "$pkgdir/usr/share/doc/go"
ln -sf /usr/lib/go/bin/go "$pkgdir/usr/bin/go"