diff options
author | Vincent Batts <vbatts@hashbangbash.com> | 2013-10-28 13:48:25 +0100 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-10-29 20:12:24 -0500 |
commit | abad27b51b514d763b6dff5c5c2f9f9f7e817eb3 (patch) | |
tree | 6c9223f715b1724662dc11eae05827ec5da5dfc7 /development/google-go-lang/google-go-lang.SlackBuild | |
parent | c2eacec3b531753cf9c7a13b95bca3e17d676c2f (diff) |
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/google-go-lang.SlackBuild')
-rw-r--r-- | development/google-go-lang/google-go-lang.SlackBuild | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/development/google-go-lang/google-go-lang.SlackBuild b/development/google-go-lang/google-go-lang.SlackBuild index f38854bd0f188..07680fbda3e5b 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 |