get-scripts view plop @ rev 79

libreoffice: fix menu entries
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jun 09 11:04:15 2019 +0200 (13 months ago)
parents
children
line source
1 WEB_SITE="https://www.plop.at/en/bootmanager/index.html"
2 SHORT_DESC="USB boot loader."
3 # end of get.list data
5 WGET_URL="$(wget -O - https://www.plop.at/en/bootmanager/download.html | \
6 sed '/plpbt/!d/href/!d;s/.*href="*\([^ "]*\).*/\1/;q')"
7 TARBALL="$(basename $WGET_URL)"
8 VERSION="$(echo $TARBALL | sed 's/.*-\([0-9\.]*\)*.zip/\1/')"
9 wget $WGET_URL
10 [ -f $TARBALL ] || abort_package
11 unzip $TARBALL
12 [ -s plpbt*/plpbt.bin ] &&
13 mkdir -p $PACKAGE-$VERSION/fs/usr/share/boot &&
14 cp plpbt*/plpbt.bin $PACKAGE-$VERSION/fs/usr/share/boot