summaryrefslogtreecommitdiff
path: root/development/google-go-lang/google-go-lang.SlackBuild
diff options
context:
space:
mode:
authorVincent Batts <vbatts@hashbangbash.com>2015-03-10 22:53:47 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-03-10 22:53:47 +0700
commitd2cfc2ec6858bd00671818193524a2c4294016b2 (patch)
treebb752c988d303556ffdc33031208cb31847bcaed /development/google-go-lang/google-go-lang.SlackBuild
parentd4c85d4c4d23513e86c7ec3f4ab0c340079de0f2 (diff)
downloadslackbuilds-d2cfc2ec6858bd00671818193524a2c4294016b2.tar.gz
development/google-go-lang: Updated for version 1.4.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/google-go-lang/google-go-lang.SlackBuild')
-rw-r--r--development/google-go-lang/google-go-lang.SlackBuild19
1 files changed, 3 insertions, 16 deletions
diff --git a/development/google-go-lang/google-go-lang.SlackBuild b/development/google-go-lang/google-go-lang.SlackBuild
index 67c8785bac..82457ae89d 100644
--- a/development/google-go-lang/google-go-lang.SlackBuild
+++ b/development/google-go-lang/google-go-lang.SlackBuild
@@ -5,7 +5,7 @@
# Written by Eric Schultz eric at schultzter.ca
# Taken over by Vincent Batts vbatts@hashbangbash.com
-# Copyright (c) 2012, 2013 Vincent Batts
+# Copyright (c) 2012, 2013, 2014, 2015 Vincent Batts
# Copyright (c) 2012 Eric Schultz
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of
@@ -27,8 +27,8 @@
# SOFTWARE.
PRGNAM=google-go-lang
-VERSION=${VERSION:-1.3.3}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.4.2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
RELEASE=${RELEASE:-linux}
@@ -77,8 +77,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-cat $CWD/runtime-test-capture.patch | patch -p1 || exit 1
-
export GOSRC="$(pwd)"
export GOROOT="$(pwd)"
export GOROOT_FINAL="/usr/lib${LIBDIRSUFFIX}/go"
@@ -101,17 +99,6 @@ fi
cd ..
-install -Dm644 misc/bash/go $PKG/etc/bash_completion.d/go
-
-install -Dm644 misc/emacs/go-mode-load.el $PKG/usr/share/emacs/site-lisp/go-mode-load.el
-install -Dm644 misc/emacs/go-mode.el $PKG/usr/share/emacs/site-lisp/go-mode.el
-
-install -Dm644 misc/vim/syntax/go.vim $PKG/usr/share/vim/vimfiles/syntax/go.vim
-install -Dm644 misc/vim/ftdetect/gofiletype.vim $PKG/usr/share/vim/vimfiles/ftdetect/gofiletype.vim
-install -Dm644 misc/vim/ftplugin/go/fmt.vim $PKG/usr/share/vim/vimfiles/ftplugin/go/fmt.vim
-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
-
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