aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-12-15 18:54:44 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-12-15 18:54:44 +0700
commit45da0cda52a323d9c1d16f22dd1773bc80f5553b (patch)
tree17b5f7f1e3bd09978796734e9259558abc70e858 /development
parent546a0a76deedea0a57e6cf56aba3a5b0bea401eb (diff)
development/hub: Updated for version 2.6.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/hub/hub.SlackBuild12
-rw-r--r--development/hub/hub.info6
2 files changed, 11 insertions, 7 deletions
diff --git a/development/hub/hub.SlackBuild b/development/hub/hub.SlackBuild
index d0171bd7b578f..50477f9670e26 100644
--- a/development/hub/hub.SlackBuild
+++ b/development/hub/hub.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=hub
-VERSION=${VERSION:-2.4.0}
+VERSION=${VERSION:-2.6.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -59,9 +59,12 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
+rm -rf $PRGNAM-$VERSION src
+mkdir -p src/github.com/github
+cd src/github.com/github
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+mv $PRGNAM-$VERSION hub
+cd hub
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -69,7 +72,8 @@ 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 {} \;
-./script/build
+GOPATH="$TMP/" make
+
mkdir -p $PKG/usr/bin
install -m755 bin/$PRGNAM $PKG/usr/bin/$PRGNAM
diff --git a/development/hub/hub.info b/development/hub/hub.info
index 7ebe909e9fd15..aeddcae59b8f6 100644
--- a/development/hub/hub.info
+++ b/development/hub/hub.info
@@ -1,8 +1,8 @@
PRGNAM="hub"
-VERSION="2.4.0"
+VERSION="2.6.1"
HOMEPAGE="https://github.com/github/hub"
-DOWNLOAD="https://github.com/github/hub/archive/v2.4.0/hub-2.4.0.tar.gz"
-MD5SUM="7c8d1cb96a1522584a9b679f3d4ef3a7"
+DOWNLOAD="https://github.com/github/hub/archive/v2.6.1/hub-2.6.1.tar.gz"
+MD5SUM="500d7907ce77768f488cf25a4cdebcb7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="google-go-lang"