summaryrefslogtreecommitdiffstats
path: root/development/heroku-cli/heroku-cli.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/heroku-cli/heroku-cli.SlackBuild')
-rw-r--r--development/heroku-cli/heroku-cli.SlackBuild28
1 files changed, 4 insertions, 24 deletions
diff --git a/development/heroku-cli/heroku-cli.SlackBuild b/development/heroku-cli/heroku-cli.SlackBuild
index 5962fe5a57..e1d8c3af76 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
-