wok-next diff webdiapo/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | cd252d2e4a4d |
children |
line diff
1.1 --- a/webdiapo/receipt Thu Feb 25 17:26:21 2016 +0100 1.2 +++ b/webdiapo/receipt Fri Nov 02 14:15:08 2018 +0200 1.3 @@ -1,26 +1,31 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="webdiapo" 1.8 VERSION="1" 1.9 CATEGORY="network" 1.10 -SHORT_DESC="Tiny html slideshow." 1.11 +SHORT_DESC="Tiny html slideshow" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="GPL" 1.14 +WEB_SITE="http://eleydet.free.fr/WebDiapo/" 1.15 + 1.16 TARBALL="WebDiapo_v$VERSION.zip" 1.17 -WEB_SITE="http://eleydet.free.fr/WebDiapo/" 1.18 WGET_URL="${WEB_SITE}pages/$TARBALL" 1.19 1.20 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.21 -genpkg_rules() 1.22 -{ 1.23 +genpkg_rules() { 1.24 mkdir -p $fs/var/www 1.25 cp -a $src $fs/var/www/webdiapo 1.26 } 1.27 1.28 -post_install() 1.29 -{ 1.30 - cat <<EOT 1.31 -Update /var/www/webdiapo/pages/ & /var/www/webdiapo/liste_diapos.js and try it: 1.32 -$ tazweb --kiosk --notoolbar file:///var/www/webdiapo/index.html 1.33 +post_install() { 1.34 + [ -n "$quiet" ] || cat <<EOT 1.35 + 1.36 + .----------------------------------------------------------------. 1.37 + | Update | 1.38 + | * /var/www/webdiapo/pages/ | 1.39 + | * /var/www/webdiapo/liste_diapos.js | 1.40 + | and try it: | 1.41 + | | 1.42 + | tazweb --kiosk --notoolbar file:///var/www/webdiapo/index.html | 1.43 + '----------------------------------------------------------------' 1.44 EOT 1.45 }