get-scripts diff 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 diff
     1.1 --- a/jd-gui	Sat Oct 25 13:46:05 2014 +0200
     1.2 +++ b/jd-gui	Wed Nov 19 13:55:21 2014 +0100
     1.3 @@ -1,10 +1,8 @@
     1.4  WEB_SITE="http://jd.benow.ca/"
     1.5 -VERSION="0.3.5"
     1.6 -TARBALL="$PACKAGE-$VERSION.linux.i686.tar.gz"
     1.7 -CATEGORY="non-free"
     1.8 -LICENSE="other"
     1.9 -WGET_URL="$WEB_SITE$PACKAGE/downloads/$TARBALL"
    1.10  SHORT_DESC="Yet another fast Java decompiler."
    1.11 +WGET_URL="$(wget -O - $WEB_SITE | sed "/linux.i686/!d;s/.*href=.\([^'\"]*\).*/\1/")"
    1.12 +TARBALL="$(basename $WGET_URL)"
    1.13 +VERSION="$(echo $TARBALL | sed 's/.*-\(.*\).linux.*/\1/')"
    1.14  
    1.15  wget -O $TARBALL $WGET_URL
    1.16  [ -f $TARBALL ] || abort_package "Could not download $TARBALL from $URL. Exiting."