get-scripts annotate nanozip @ rev 63
Add nanozip
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 10 14:15:08 2016 +0200 (2016-08-10) |
parents | |
children | 65ed4f4d5384 |
rev | line source |
---|---|
pascal@63 | 1 SHORT_DESC="An experimental file archiver software." |
pascal@63 | 2 WEB_SITE="http://nanozip.net/" |
pascal@63 | 3 # end of get.list data |
pascal@63 | 4 WGET_URL="$WEB_SITE$(wget -O - $WEB_SITE | \ |
pascal@63 | 5 sed '/linux32/!d;s/.*href="*\([^>"]*\).*/\1/;q')" |
pascal@63 | 6 TARBALL="$(basename $WGET_URL)" |
pascal@63 | 7 VERSION="$(echo $TARBALL | sed 's/.*-\(.*\).linux32.*/\1/')" |
pascal@63 | 8 |
pascal@63 | 9 wget $WGET_URL |
pascal@63 | 10 unzip $TARBALL |
pascal@63 | 11 mkdir -p $PACKAGE-$VERSION/fs/usr/bin |
pascal@63 | 12 mv nz $PACKAGE-$VERSION/fs/usr/bin |