aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorDiniz Bortolotto <diniz.bortolotto@gmail.com>2024-03-25 01:47:02 -0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-03-27 05:51:50 +0700
commitc33d787bc7e4cf06db2a12605179b97246511ba7 (patch)
tree23b55a5bc6cdb21730580d25b763a66b98e54dd9 /development
parentb247791e259299803f9ac7684f1caddfcc13b935 (diff)
development/heroku-cli: Updated for version 8.11.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/heroku-cli/heroku-cli.SlackBuild28
-rw-r--r--development/heroku-cli/heroku-cli.info8
2 files changed, 8 insertions, 28 deletions
diff --git a/development/heroku-cli/heroku-cli.SlackBuild b/development/heroku-cli/heroku-cli.SlackBuild
index 5962fe5a5748b..e1d8c3af76ed0 100644
--- a/development/heroku-cli/heroku-cli.SlackBuild
+++ b/development/heroku-cli/heroku-cli.SlackBuild
@@ -25,13 +25,11 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=heroku-cli
-VERSION=${VERSION:-8.10.0}
+VERSION=${VERSION:-8.11.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-
-#Heroku download is allways on latest version
-DOWNLOAD=heroku-linux-x64.tar.gz
+TARBALL=heroku-v8.11.0-a525d5e-linux-x64.tar.xz
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -57,26 +55,9 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$DOWNLOAD
-
-#Tarball has a heroku dir only - check/update version
-TARVRS=$(head heroku/package.json | grep version | cut -d'"' -f4)
-
-if [ $VERSION != $TARVRS ]
-then
- echo ""
- echo "**********************************************"
- echo "************ Fix Slackbuild!! ************"
- echo "**********************************************"
- echo " Tarball version ($TARVRS) is not equal the "
- echo " package version ($VERSION). Edit slackbuild"
- echo " replacing VERSION $VERSION by $TARVRS. "
- echo "**********************************************"
- echo ""
- exit 1
-fi
+tar xvf $CWD/$TARBALL
-#Update/move heroku dir to PRGNAM-VERSION
+#For sake of consistency move heroku dir to PRGNAM-VERSION
mv heroku $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
@@ -116,4 +97,3 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
-
diff --git a/development/heroku-cli/heroku-cli.info b/development/heroku-cli/heroku-cli.info
index 0184c92df1f41..6ae07ce0b16ea 100644
--- a/development/heroku-cli/heroku-cli.info
+++ b/development/heroku-cli/heroku-cli.info
@@ -1,10 +1,10 @@
PRGNAM="heroku-cli"
-VERSION="8.10.0"
-HOMEPAGE="https://www.heroku.com"
+VERSION="8.11.0"
+HOMEPAGE="https://www.heroku.com/home"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://cli-assets.heroku.com/channels/stable/heroku-linux-x64.tar.gz"
-MD5SUM_x86_64="02b1c5c3d094e991c073f5dc1e8ee5af"
+DOWNLOAD_x86_64="https://cli-assets.heroku.com/versions/8.11.0/a525d5e/heroku-v8.11.0-a525d5e-linux-x64.tar.xz"
+MD5SUM_x86_64="e6ee7fb62ac489aef98155b8ed4057a1"
REQUIRES=""
MAINTAINER="Diniz Bortolotto"
EMAIL="diniz.bortolotto@gmail.com"