get-scripts annotate jd-gui @ rev 27

apk-studio, jad, jd-gui, rpix86: fix path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 20 16:02:03 2014 +0100 (2014-11-20)
parents a91a3ad69b69
children 6ca05e6839e1
rev   line source
pascal@23 1 WEB_SITE="http://jd.benow.ca/"
pascal@23 2 SHORT_DESC="Yet another fast Java decompiler."
pascal@25 3 WGET_URL="$(wget -O - $WEB_SITE | sed "/linux.i686/!d;s/.*href=.\([^'\"]*\).*/\1/")"
pascal@25 4 TARBALL="$(basename $WGET_URL)"
pascal@25 5 VERSION="$(echo $TARBALL | sed 's/.*-\(.*\).linux.*/\1/')"
pascal@23 6
pascal@23 7 wget -O $TARBALL $WGET_URL
pascal@23 8 [ -f $TARBALL ] || abort_package "Could not download $TARBALL from $URL. Exiting."
pascal@23 9
pascal@23 10 tar xzf $TARBALL
pascal@27 11 mkdir -p $PACKAGE-$VERSION/fs/usr/bin
pascal@27 12 mv $PACKAGE $PACKAGE-$VERSION/fs/usr/bin
pascal@23 13
pascal@23 14 set +e