get-scripts view 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 |
line source
1 WEB_SITE="http://jd.benow.ca/"
2 SHORT_DESC="Yet another fast Java decompiler."
3 WGET_URL="$(wget -O - $WEB_SITE | sed "/linux.i686/!d;s/.*href=.\([^'\"]*\).*/\1/")"
4 TARBALL="$(basename $WGET_URL)"
5 VERSION="$(echo $TARBALL | sed 's/.*-\(.*\).linux.*/\1/')"
7 wget -O $TARBALL $WGET_URL
8 [ -f $TARBALL ] || abort_package "Could not download $TARBALL from $URL. Exiting."
10 tar xzf $TARBALL
11 mkdir -p $PACKAGE-$SOURCE/usr/bin
12 mv $PACKAGE $PACKAGE-$SOURCE/usr/bin
14 set +e