get-scripts view etcher @ 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 SHORT_DESC="Burn images to SD cards & USB drives, safely and easily"
2 WEB_SITE="https://etcher.io/"
3 # end of get.list data
5 WGET_URL=$(busybox wget -O - "$WEB_SITE/cli/" | sed \
6 '/linux-x86/!d;s|.*href="\([^"]*linux-x86[^"]*\)".*|\1|')
7 TARBALL="$(basename $WGET_URL)"
8 wget -O $TARBALL $WGET_URL
9 [ -s $TARBALL ] || abort_package
10 VERSION="$(echo $TARBALL | sed 's|[^0-9]*\(.*\)\-linux.*|\1|')"
12 busybox xf $TARBALL
13 mkdir -p $PACKAGE-$VERSION/fs/usr/share/etcher $PACKAGE-$VERSION/fs/usr/bin
14 mv Etcher*/* $PACKAGE-$VERSION/fs/usr/share/etcher
15 ln -s /usr/share/etcher/etcher $PACKAGE-$VERSION/fs/usr/bin/etcher