get-scripts annotate jd-gui @ rev 43
opera: fix non-us layout "XOpenIM failed. This may prevent you from being able to type" error
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Fri May 22 02:17:42 2015 +0300 (2015-05-22) |
parents | 6ca05e6839e1 |
children | 2cdf3e534506 |
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@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@41 | 11 VERSION="$(echo $TARBALL | sed 's/.*-\(.*\).linux.*/\1/')" |
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 |