get-scripts view nanozip @ rev 71
opera: 404, update $URL
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Tue Sep 26 20:47:36 2017 +0200 (2017-09-26) |
parents | 62d94e6800db |
children |
line source
1 SHORT_DESC="An experimental file archiver software."
2 WEB_SITE="http://nanozip.ijat.my/"
3 # end of get.list data
4 WGET_URL="$WEB_SITE$(wget -O - $WEB_SITE | \
5 sed '/linux32/!d;s/.*href="*\([^>"]*\).*/\1/;q')"
6 TARBALL="$(basename $WGET_URL)"
7 VERSION="$(echo $TARBALL | sed 's/.*-\(.*\).linux32.*/\1/')"
9 wget $WGET_URL
10 unzip $TARBALL
11 mkdir -p $PACKAGE-$VERSION/fs/usr/bin
12 mv nz $PACKAGE-$VERSION/fs/usr/bin