community/go ~facepalm~

This commit is contained in:
Jason Plum 2015-08-20 15:27:46 -04:00
parent fc75109d85
commit 75b80c7faf

View file

@ -40,7 +40,7 @@ build() {
export GOARCH=arm
export GOROOT_FINAL=/usr/lib/go
export GOROOT_BOOOTSTRAP=/usr/lib/go
export GOROOT_BOOTSTRAP=/usr/lib/go
export GOOS=linux
export GOPATH="$srcdir/"
export GOROOT="$srcdir/$pkgname-$pkgver"
@ -67,7 +67,7 @@ check() {
export GOROOT="$srcdir/$pkgname-$pkgver"
export GOBIN="$GOROOT/bin"
export PATH="$srcdir/$pkgname-$pkgver/bin:$PATH"
export GOROOT_BOOOTSTRAP=/usr/lib/go
export GOROOT_BOOTSTRAP=/usr/lib/go
# TestSimpleMulticastListener will fail in standard chroot
cd src && bash run.bash --no-rebuild || true
@ -78,7 +78,7 @@ package() {
export GOROOT="$srcdir/$pkgname-$pkgver"
export GOBIN="$GOROOT/bin"
export GOROOT_BOOOTSTRAP=/usr/lib/go
export GOROOT_BOOTSTRAP=/usr/lib/go
install -Dm755 "$srcdir/godoc" "$pkgdir/usr/bin/godoc"