get-scripts annotate jd-gui @ rev 34

Add sublime-text-3
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 23 08:59:52 2015 +0100 (2015-03-23)
parents dd4436ade9f9
children e27db4d5e5b8
rev   line source
pascal@34 1 SHORT_DESC="Yet another fast Java decompiler."
pascal@23 2 WEB_SITE="http://jd.benow.ca/"
pascal@34 3 # end of get.list data
pascal@25 4 WGET_URL="$(wget -O - $WEB_SITE | sed "/linux.i686/!d;s/.*href=.\([^'\"]*\).*/\1/")"
pascal@25 5 TARBALL="$(basename $WGET_URL)"
pascal@25 6 VERSION="$(echo $TARBALL | sed 's/.*-\(.*\).linux.*/\1/')"
pascal@23 7
pascal@23 8 wget -O $TARBALL $WGET_URL
pascal@23 9 [ -f $TARBALL ] || abort_package "Could not download $TARBALL from $URL. Exiting."
pascal@23 10
pascal@23 11 tar xzf $TARBALL
pascal@27 12 mkdir -p $PACKAGE-$VERSION/fs/usr/bin
pascal@27 13 mv $PACKAGE $PACKAGE-$VERSION/fs/usr/bin
pascal@23 14
pascal@23 15 set +e