wok-next diff grooms/receipt @ rev 20931
pygobject3 -> python-pygobject (latest); pygobject -> python-pygobject2 (legacy)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Aug 23 08:03:04 2018 +0300 (2018-08-23) |
parents | 9e01bc6321ea |
children | d5aab818505e |
line diff
1.1 --- a/grooms/receipt Sun Dec 20 15:13:45 2015 +0100 1.2 +++ b/grooms/receipt Thu Aug 23 08:03:04 2018 +0300 1.3 @@ -1,33 +1,28 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="grooms" 1.8 VERSION="1.0.5" 1.9 CATEGORY="games" 1.10 -SHORT_DESC="Play the board game, Go, over the Internet." 1.11 +SHORT_DESC="Play the board game, Go, over the Internet" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="GPL2" 1.14 -WEB_SITE="http://$PACKAGE.tuxfamily.org" 1.15 +WEB_SITE="http://grooms.tuxfamily.org" 1.16 + 1.17 TARBALL="$PACKAGE-$VERSION.zip" 1.18 WGET_URL="${WEB_SITE}/$TARBALL" 1.19 1.20 -DEPENDS="php" 1.21 - 1.22 -# Rules to configure and make the package. 1.23 -compile_rules() 1.24 -{ 1.25 - cd $src 1.26 +compile_rules() { 1.27 + mkdir -p $install/var/lib 1.28 + cp -a $src $install/var/lib/grooms 1.29 + chown 80.80 $install/var/lib/grooms 1.30 } 1.31 1.32 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.33 -genpkg_rules() 1.34 -{ 1.35 - mkdir -p $fs/var/lib 1.36 - cp -a $src $fs/var/lib/grooms 1.37 - chown 80.80 $fs/var/lib/grooms 1.38 +genpkg_rules() { 1.39 + copy @std 1.40 + DEPENDS="php" 1.41 } 1.42 1.43 -post_install() 1.44 -{ 1.45 +post_install() { 1.46 # Configure lighttpd server 1.47 if [ -f "$1/etc/lighttpd/lighttpd.conf" ]; then 1.48 if ! grep -q /var/lib/grooms "$1/etc/lighttpd/lighttpd.conf"; then