get-scripts annotate jd-gui @ rev 26
Add apk-studio
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 19 13:55:21 2014 +0100 (2014-11-19) |
parents | db08c0205587 |
children | dd4436ade9f9 |
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@23 | 11 mkdir -p $PACKAGE-$SOURCE/usr/bin |
pascal@23 | 12 mv $PACKAGE $PACKAGE-$SOURCE/usr/bin |
pascal@23 | 13 |
pascal@23 | 14 set +e |