summaryrefslogtreecommitdiffstats
path: root/development/github-cli/github-cli.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/github-cli/github-cli.SlackBuild')
-rw-r--r--development/github-cli/github-cli.SlackBuild17
1 files changed, 7 insertions, 10 deletions
diff --git a/development/github-cli/github-cli.SlackBuild b/development/github-cli/github-cli.SlackBuild
index 90419b0f4b..2049193371 100644
--- a/development/github-cli/github-cli.SlackBuild
+++ b/development/github-cli/github-cli.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for GitHub CLI
-# Copyright 2020-2021 Ebben Aries <slackbuilds@dscp.org>
+# Copyright 2020-2024 Ebben Aries <slackbuilds@dscp.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,19 +26,11 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=github-cli
DEBNAM=gh
-VERSION=${VERSION:-2.16.1}
+VERSION=${VERSION:-2.48.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
-if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
- echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
- exit 0
-fi
-
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -53,6 +45,11 @@ else
DEBARCH="386"
fi
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
set -e
rm -rf $PKG