get-scripts annotate btsync @ rev 63

Add nanozip
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 10 14:15:08 2016 +0200 (2016-08-10)
parents 35a7d83513d2
children
rev   line source
pascal@60 1 SHORT_DESC="Resilient, fast and scalable file synchronization"
pascal@62 2 WEB_SITE="https://getsync.com/"
pascal@60 3 # end of get.list data
pascal@60 4
pascal@60 5 BUILD_DEPENDS="wget"
pascal@60 6 WGET_URL="$(wget --no-check-certificate -O - ${WEBSITE}platforms/desktop/ | \
pascal@60 7 sed '/linux-i386/!d;s|.*href="\([^"]*\).*|\1|')"
pascal@60 8 TARBALL="$(basename $WGET_URL)"
pascal@60 9
pascal@60 10 wget -O $TARBALL $WGET_URL
pascal@60 11 [ -s $TARBALL ] || abort_package
pascal@60 12
pascal@60 13 tar xvzf $TARBALL
pascal@63 14 cp btsync $PACKAGE/fs/usr/bin
pascal@63 15 cat README LICENCE.TXT > $PACKAGE/description.txt
pascal@63 16 mkdir -p $PACKAGE-$VERSION/fs/usr/bin $PACKAGE/fs/usr/share/applications
pascal@63 17 cat > $PACKAGE/fs/usr/share/applications/btsync.desktop <<EOT
pascal@60 18 [Desktop Entry]
pascal@60 19 Version=1.0
pascal@60 20 Encoding=UTF-8
pascal@60 21 Name=Btsync
pascal@60 22 Name[fr]=Synchroniser des fichiers (btsync)
pascal@60 23 Name[it]=Sincronizza file (btsync)
pascal@60 24 Exec=btsync --webui.listen 127.0.0.1:8888
pascal@60 25 Terminal=false
pascal@60 26 Type=Application
pascal@60 27 Categories=Application;Network;
pascal@60 28 EOT