[arch-commits] Commit in go/trunk (PKGBUILD)
Alexander Rødseth
arodseth at nymeria.archlinux.org
Mon Mar 3 17:04:15 UTC 2014
Date: Monday, March 3, 2014 @ 18:04:15
Author: arodseth
Revision: 106447
upgpkg: go 2:1.2.1-1
Modified:
go/trunk/PKGBUILD
----------+
PKGBUILD | 22 ++++------------------
1 file changed, 4 insertions(+), 18 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-03-03 14:52:02 UTC (rev 106446)
+++ PKGBUILD 2014-03-03 17:04:15 UTC (rev 106447)
@@ -17,14 +17,13 @@
url='http://golang.org/'
license=('custom')
depends=('perl' 'gawk')
-# Depends on itself when building, in order to include the go tools
-makedepends=('inetutils' 'mercurial' 'go')
+makedepends=('inetutils' 'mercurial')
options=('!strip' 'staticlibs')
optdepends=('liteide: IDE for editing and building projects written in Go'
'mercurial: VCS written in Python'
'git: VCS written in C')
install="$pkgname.install"
-source=("$pkgname-$pkgver::hg+https://code.google.com/p/$pkgname#branch=release-branch.$pkgname$pkgver")
+source=("$pkgname-$pkgver::hg+https://code.google.com/p/$pkgname#branch=release-branch.$pkgname${pkgver/.1}")
md5sums=('SKIP')
build() {
@@ -54,21 +53,8 @@
done
done
-
- # Build the go tools (like vet and cover)
- # Working methods to do the same that does not rely on "go get" are warmly welcome,
- # just create a feature request and include your solution.
-
- #export GOROOT="$srcdir/$pkgname-$pkgver"
- #export PATH="$srcdir/$pkgname-$pkgver/bin:$PATH"
-
- if [ "$CARCH" == 'x86_64' ]; then
- export GOARCH=amd64
- elif [ "$CARCH" == 'i686' ]; then
- export GOARCH=386
- fi
-
- go get code.google.com/p/go.tools/cmd/...
+ # TODO: Find a way to install these tools as well:
+ #go get code.google.com/p/go.tools/cmd/...
}
check() {
More information about the arch-commits
mailing list