[arch-commits] Commit in go/trunk (PKGBUILD)
Alexander Rødseth
arodseth at nymeria.archlinux.org
Sat May 3 18:39:42 UTC 2014
Date: Saturday, May 3, 2014 @ 20:39:42
Author: arodseth
Revision: 110570
Added a change that was suggested by Jeff.
Added the GOBIN environment variable as suggested by Jeff Mickey <jeff at archlinux.org> per email.
Will test and push the changes once Go 1.3 arrives.
Modified:
go/trunk/PKGBUILD
----------+
PKGBUILD | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-05-03 18:17:07 UTC (rev 110569)
+++ PKGBUILD 2014-05-03 18:39:42 UTC (rev 110570)
@@ -12,7 +12,7 @@
pkgname=go
epoch=2
pkgver=1.2.1
-pkgrel=5
+pkgrel=6
pkgdesc='Compiler and tools for the Go programming language from Google'
arch=('x86_64' 'i686')
url='http://golang.org/'
@@ -30,6 +30,7 @@
build() {
export GOROOT="$srcdir/$pkgname-$pkgver"
+ export GOBIN="$GOROOT/bin"
cd "$GOROOT/src"
export GOPATH="$srcdir/"
@@ -84,6 +85,7 @@
fi
export GOROOT="$srcdir/$pkgname-$pkgver"
+ export GOBIN="$GOROOT/bin"
export PATH="$srcdir/$pkgname-$pkgver/bin:$PATH"
# TestSimpleMulticastListener will fail in standard chroot
@@ -93,6 +95,7 @@
package() {
cd "$pkgname-$pkgver"
export GOROOT="$srcdir/$pkgname-$pkgver"
+ export GOBIN="$GOROOT/bin"
install -Dm755 $srcdir/godoc $pkgdir/usr/bin/godoc
More information about the arch-commits
mailing list