get-scripts rev 60
Add btsync
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jul 25 10:36:53 2016 +0200 (2016-07-25) |
parents | 3b8bec0643e3 |
children | a451c3beafc1 |
files | btsync kiwix |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/btsync Mon Jul 25 10:36:53 2016 +0200 1.3 @@ -0,0 +1,28 @@ 1.4 +SHORT_DESC="Resilient, fast and scalable file synchronization" 1.5 +WEB_SITE="https://getsync.com/" 1.6 +# end of get.list data 1.7 + 1.8 +BUILD_DEPENDS="wget" 1.9 +WGET_URL="$(wget --no-check-certificate -O - ${WEBSITE}platforms/desktop/ | \ 1.10 + sed '/linux-i386/!d;s|.*href="\([^"]*\).*|\1|')" 1.11 +TARBALL="$(basename $WGET_URL)" 1.12 + 1.13 +wget -O $TARBALL $WGET_URL 1.14 +[ -s $TARBALL ] || abort_package 1.15 + 1.16 +tar xvzf $TARBALL 1.17 +cp btsync $PACKAGE-$VERSION/fs/usr/bin 1.18 +cat README LICENCE.TXT > $PACKAGE-$VERSION/description.txt 1.19 +mkdir -p $PACKAGE-$VERSION/fs/usr/bin $PACKAGE-$VERSION/fs/usr/share/applications 1.20 +cat > $PACKAGE-$VERSION/fs/usr/share/applications/btsync.desktop <<EOT 1.21 +[Desktop Entry] 1.22 +Version=1.0 1.23 +Encoding=UTF-8 1.24 +Name=Btsync 1.25 +Name[fr]=Synchroniser des fichiers (btsync) 1.26 +Name[it]=Sincronizza file (btsync) 1.27 +Exec=btsync --webui.listen 127.0.0.1:8888 1.28 +Terminal=false 1.29 +Type=Application 1.30 +Categories=Application;Network; 1.31 +EOT
2.1 --- a/kiwix Sat Jul 23 12:17:06 2016 +0200 2.2 +++ b/kiwix Mon Jul 25 10:36:53 2016 +0200 2.3 @@ -2,7 +2,7 @@ 2.4 WEBSITE="http://www.kiwix.org/wiki" 2.5 # end of get.list data 2.6 2.7 -WGET_URL="$(wget -O - $WEBSITE/Software/en | sed '/686/!d;s/.*href="\([^"]*\).*/\1/;q')' 2.8 +WGET_URL="$(wget -O - $WEBSITE/Software/en | sed '/686/!d;s/.*href="\([^"]*\).*/\1/;q')" 2.9 TARBALL="$(basename $WGET_URL)" 2.10 2.11 wget -O $TARBALL $WGET_URL