diff options
Diffstat (limited to 'development/github-cli')
-rw-r--r-- | development/github-cli/github-cli.SlackBuild | 17 | ||||
-rw-r--r-- | development/github-cli/github-cli.info | 10 |
2 files changed, 12 insertions, 15 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 diff --git a/development/github-cli/github-cli.info b/development/github-cli/github-cli.info index 4b13f012fe..e2d9bb5726 100644 --- a/development/github-cli/github-cli.info +++ b/development/github-cli/github-cli.info @@ -1,10 +1,10 @@ PRGNAM="github-cli" -VERSION="2.16.1" +VERSION="2.48.0" HOMEPAGE="https://cli.github.com/" -DOWNLOAD="https://github.com/cli/cli/releases/download/v2.16.1/gh_2.16.1_linux_386.deb" -MD5SUM="09c9f4eff670080ffea6ea2064a56c40" -DOWNLOAD_x86_64="https://github.com/cli/cli/releases/download/v2.16.1/gh_2.16.1_linux_amd64.deb" -MD5SUM_x86_64="227c032241070c30ac6e3fb05c8c8c3e" +DOWNLOAD="https://github.com/cli/cli/releases/download/v2.48.0/gh_2.48.0_linux_386.deb" +MD5SUM="5183ca269bb9b242055871c7483a5426" +DOWNLOAD_x86_64="https://github.com/cli/cli/releases/download/v2.48.0/gh_2.48.0_linux_amd64.deb" +MD5SUM_x86_64="bd56f8bd78c1762e8f6d0a31a02a617f" REQUIRES="" MAINTAINER="Ebben Aries" EMAIL="slackbuilds@dscp.org" |