wok-next diff kriss_feed/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 d43bf7aae921
children
line diff
     1.1 --- a/kriss_feed/receipt	Wed Mar 21 15:58:17 2018 +0200
     1.2 +++ b/kriss_feed/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -1,26 +1,23 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="kriss_feed"
     1.8  VERSION="7"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="A simple and smart (or stupid) feed reader."
    1.11 -WEB_SITE="https://github.com/tontof/kriss_feed"
    1.12 +SHORT_DESC="A simple and smart (or stupid) feed reader"
    1.13  MAINTAINER="pascal.bellard@slitaz.org"
    1.14  LICENSE="other"
    1.15 +WEB_SITE="https://github.com/tontof/kriss_feed"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION"
    1.18  WGET_URL="$WEB_SITE/raw/c13cfb50ad593884ee6a5b21d9eb80750b71d693/index.php"
    1.19  
    1.20 -DEPENDS="php"
    1.21 -
    1.22 -# Rules to gen a SliTaz package suitable for Tazpkg.   
    1.23 -genpkg_rules()                                      
    1.24 -{
    1.25 +genpkg_rules() {
    1.26  	mkdir -p $fs/var/www/$PACKAGE
    1.27  	cd $fs/var/www/$PACKAGE
    1.28  	cp "$SRC/$TARBALL" $fs/var/www/$PACKAGE/index.php
    1.29 +	DEPENDS="php"
    1.30  }
    1.31  
    1.32 -post_install()
    1.33 -{
    1.34 +post_install() {
    1.35  	chown -R www "$1/var/www/$PACKAGE"
    1.36  }