diff options
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 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 |