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