get-scripts rev 61
kiwix: set version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 28 21:50:41 2016 +0200 (2016-07-28) |
parents | 410848cc593d |
children | 35a7d83513d2 |
files | btsync kiwix |
line diff
1.1 --- a/btsync Mon Jul 25 10:36:53 2016 +0200 1.2 +++ b/btsync Thu Jul 28 21:50:41 2016 +0200 1.3 @@ -1,5 +1,5 @@ 1.4 SHORT_DESC="Resilient, fast and scalable file synchronization" 1.5 -WEB_SITE="https://getsync.com/" 1.6 +WEBSITE="https://getsync.com/" 1.7 # end of get.list data 1.8 1.9 BUILD_DEPENDS="wget" 1.10 @@ -10,6 +10,7 @@ 1.11 wget -O $TARBALL $WGET_URL 1.12 [ -s $TARBALL ] || abort_package 1.13 1.14 +VERSION="$(date +%F | sed 's/-//g')" 1.15 tar xvzf $TARBALL 1.16 cp btsync $PACKAGE-$VERSION/fs/usr/bin 1.17 cat README LICENCE.TXT > $PACKAGE-$VERSION/description.txt
2.1 --- a/kiwix Mon Jul 25 10:36:53 2016 +0200 2.2 +++ b/kiwix Thu Jul 28 21:50:41 2016 +0200 2.3 @@ -8,6 +8,7 @@ 2.4 wget -O $TARBALL $WGET_URL 2.5 [ -s $TARBALL ] || abort_package 2.6 2.7 +VERSION="$(date +%F | sed 's/-//g')" 2.8 mkdir -p $PACKAGE-$VERSION/fs/opt $PACKAGE-$VERSION/fs/usr/share/applications 2.9 2.10 # Extract package