wok-next diff p4wn/receipt @ rev 21695
updated gob2 (2.0.17 -> 2.0.20)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jun 30 15:37:32 2020 +0100 (2020-06-30) |
parents | 2a5cc8208d36 |
children |
line diff
1.1 --- a/p4wn/receipt Sun Oct 20 22:08:25 2013 +0000 1.2 +++ b/p4wn/receipt Tue Jun 30 15:37:32 2020 +0100 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="p4wn" 1.8 VERSION="1.0" 1.9 @@ -7,21 +7,18 @@ 1.10 MAINTAINER="pascal.bellard@slitaz.org" 1.11 LICENSE="PublicDomain" 1.12 WEB_SITE="http://p4wn.sourceforge.net/" 1.13 + 1.14 TARBALL="sven_vehars_fancy_version.zip" 1.15 WGET_URL="$WEB_SITE/downloads/$TARBALL" 1.16 -# Rules to configure and make the package. 1.17 -compile_rules() 1.18 -{ 1.19 - cd $src 1.20 + 1.21 +compile_rules() { 1.22 sed -i '/background-image/d' *.css 1.23 sed -i 's|title>.*</title|title>Chess</title|' index.html 1.24 } 1.25 1.26 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.27 -genpkg_rules() 1.28 -{ 1.29 - mkdir -p $fs/var/www/p4wn $fs/usr/share/applications \ 1.30 - $fs/usr/share/pixmaps 1.31 +genpkg_rules() { 1.32 + mkdir -p $fs/var/www/p4wn $fs/usr/share/applications \ 1.33 + $fs/usr/share/pixmaps 1.34 cp $src/* $fs/var/www/p4wn 1.35 rm -f $fs/var/www/p4wn/README $fs/var/www/p4wn/*background.png 1.36 chown -R 80.80 $fs/var/www/p4wn 1.37 @@ -36,4 +33,3 @@ 1.38 Comment=Chess game 1.39 EOT 1.40 } 1.41 -