summaryrefslogtreecommitdiff
path: root/development/google-go-lang
diff options
context:
space:
mode:
authorVincent Batts <vbatts@hashbangbash.com>2013-10-28 13:48:25 +0100
committerRobby Workman <rworkman@slackbuilds.org>2013-10-29 20:12:24 -0500
commitabad27b51b514d763b6dff5c5c2f9f9f7e817eb3 (patch)
tree6c9223f715b1724662dc11eae05827ec5da5dfc7 /development/google-go-lang
parentc2eacec3b531753cf9c7a13b95bca3e17d676c2f (diff)
downloadslackbuilds-abad27b51b514d763b6dff5c5c2f9f9f7e817eb3.tar.gz
development/google-go-lang: Updated for version 1.1.2.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'development/google-go-lang')
-rw-r--r--development/google-go-lang/google-go-lang.SlackBuild12
-rw-r--r--development/google-go-lang/google-go-lang.info6
2 files changed, 5 insertions, 13 deletions
diff --git a/development/google-go-lang/google-go-lang.SlackBuild b/development/google-go-lang/google-go-lang.SlackBuild
index f38854bd0f..07680fbda3 100644
--- a/development/google-go-lang/google-go-lang.SlackBuild
+++ b/development/google-go-lang/google-go-lang.SlackBuild
@@ -26,7 +26,7 @@
# SOFTWARE.
PRGNAM=google-go-lang
-VERSION=${VERSION:-1.1.1}
+VERSION=${VERSION:-1.1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -79,14 +79,13 @@ export GOSRC="$(pwd)"
export GOROOT="$(pwd)"
export GOROOT_FINAL="/usr/lib${LIBDIRSUFFIX}/go"
export GOOS="linux"
-export GOBIN="${GOROOT}/bin"
+export GOBIN="${PKG}/usr/bin"
export GOARCH="${GARCH}"
mkdir -p "${GOBIN}"
cd src
LC_ALL=C \
-PATH="$PATH:$GOBIN" \
./all.bash
cd ..
@@ -102,13 +101,6 @@ install -Dm644 misc/vim/ftplugin/go/fmt.vim $PKG/usr/share/vim/vimfiles/ftplugin
install -Dm644 misc/vim/ftplugin/go/import.vim $PKG/usr/share/vim/vimfiles/ftplugin/go/import.vim
install -Dm644 misc/vim/indent/go.vim $PKG/usr/share/vim/vimfiles/indent/go.vim
-#mkdir -p misc lib src
-mkdir -p $PKG/usr/bin
-
-ln -sf /usr/lib${LIBDIRSUFFIX}/go/bin/go $PKG/usr/bin/go
-ln -sf /usr/lib${LIBDIRSUFFIX}/go/bin/godoc $PKG/usr/bin/godoc
-ln -sf /usr/lib${LIBDIRSUFFIX}/go/bin/gofmt $PKG/usr/bin/gofmt
-
ln -sf /usr/lib${LIBDIRSUFFIX}/go/pkg/tool/linux_${GOARCH}/cgo $PKG/usr/bin/cgo
ln -sf /usr/lib${LIBDIRSUFFIX}/go/pkg/tool/linux_${GOARCH}/ebnflint $PKG/usr/bin/ebnflint
diff --git a/development/google-go-lang/google-go-lang.info b/development/google-go-lang/google-go-lang.info
index 7c147aaf75..a5d2aa5cf7 100644
--- a/development/google-go-lang/google-go-lang.info
+++ b/development/google-go-lang/google-go-lang.info
@@ -1,8 +1,8 @@
PRGNAM="google-go-lang"
-VERSION="1.1.1"
+VERSION="1.1.2"
HOMEPAGE="http://golang.org"
-DOWNLOAD="https://go.googlecode.com/files/go1.1.1.src.tar.gz"
-MD5SUM="c0dba80268f401c7d2744e6bf8410cc6"
+DOWNLOAD="https://go.googlecode.com/files/go1.1.2.src.tar.gz"
+MD5SUM="705feb2246c8ddaf820d7e171f1430c5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""