mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
community/go ~facepalm~
This commit is contained in:
parent
fc75109d85
commit
75b80c7faf
1 changed files with 3 additions and 3 deletions
|
@ -40,7 +40,7 @@ build() {
|
||||||
|
|
||||||
export GOARCH=arm
|
export GOARCH=arm
|
||||||
export GOROOT_FINAL=/usr/lib/go
|
export GOROOT_FINAL=/usr/lib/go
|
||||||
export GOROOT_BOOOTSTRAP=/usr/lib/go
|
export GOROOT_BOOTSTRAP=/usr/lib/go
|
||||||
export GOOS=linux
|
export GOOS=linux
|
||||||
export GOPATH="$srcdir/"
|
export GOPATH="$srcdir/"
|
||||||
export GOROOT="$srcdir/$pkgname-$pkgver"
|
export GOROOT="$srcdir/$pkgname-$pkgver"
|
||||||
|
@ -67,7 +67,7 @@ check() {
|
||||||
export GOROOT="$srcdir/$pkgname-$pkgver"
|
export GOROOT="$srcdir/$pkgname-$pkgver"
|
||||||
export GOBIN="$GOROOT/bin"
|
export GOBIN="$GOROOT/bin"
|
||||||
export PATH="$srcdir/$pkgname-$pkgver/bin:$PATH"
|
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
|
# TestSimpleMulticastListener will fail in standard chroot
|
||||||
cd src && bash run.bash --no-rebuild || true
|
cd src && bash run.bash --no-rebuild || true
|
||||||
|
@ -78,7 +78,7 @@ package() {
|
||||||
|
|
||||||
export GOROOT="$srcdir/$pkgname-$pkgver"
|
export GOROOT="$srcdir/$pkgname-$pkgver"
|
||||||
export GOBIN="$GOROOT/bin"
|
export GOBIN="$GOROOT/bin"
|
||||||
export GOROOT_BOOOTSTRAP=/usr/lib/go
|
export GOROOT_BOOTSTRAP=/usr/lib/go
|
||||||
|
|
||||||
install -Dm755 "$srcdir/godoc" "$pkgdir/usr/bin/godoc"
|
install -Dm755 "$srcdir/godoc" "$pkgdir/usr/bin/godoc"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue