get-scripts view nanozip @ rev 78

Remove ashism ==
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 26 09:13:38 2019 +0100 (2019-02-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