wok diff p4wn/receipt @ rev 25307

updated siproxd (0.8.2 -> 0.8.3)
author Hans-G?nter Theisgen
date Wed Jul 20 10:52:20 2022 +0100 (2022-07-20)
parents 370da83187ab
children ad0bc3efbf37
line diff
     1.1 --- a/p4wn/receipt	Fri Feb 04 09:24:50 2022 +0000
     1.2 +++ b/p4wn/receipt	Wed Jul 20 10:52:20 2022 +0100
     1.3 @@ -1,14 +1,15 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="p4wn"
     1.7 -VERSION="1.0"
     1.8 +VERSION="2.01"
     1.9  CATEGORY="games"
    1.10 -SHORT_DESC="Chess game in javascript"
    1.11 +SHORT_DESC="Chess game in javascript."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="PublicDomain"
    1.14 -WEB_SITE="http://p4wn.sourceforge.net/"
    1.15 -TARBALL="sven_vehars_fancy_version.zip"
    1.16 -WGET_URL="$WEB_SITE/downloads/$TARBALL"
    1.17 +WEB_SITE="https://sourceforge.net/projects/p4wn/"
    1.18 +
    1.19 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.20 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.21  
    1.22  # What is the latest version available today?
    1.23  current_version()
    1.24 @@ -20,7 +21,7 @@
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28 -	cd $src
    1.29 +	cd	src
    1.30  	sed -i '/background-image/d' *.css
    1.31  	sed -i 's|title>.*</title|title>Chess</title|' index.html
    1.32  }
    1.33 @@ -28,11 +29,14 @@
    1.34  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.35  genpkg_rules()
    1.36  {
    1.37 -        mkdir -p $fs/var/www/p4wn $fs/usr/share/applications \
    1.38 -        	$fs/usr/share/pixmaps
    1.39 -	cp $src/* $fs/var/www/p4wn
    1.40 -	rm -f $fs/var/www/p4wn/README $fs/var/www/p4wn/*background.png
    1.41 -	chown -R 80.80 $fs/var/www/p4wn
    1.42 +        mkdir -p $fs/var/www/p4wn
    1.43 +	mkdir -p $fs/usr/share/applications
    1.44 +	mkdir -p $fs/usr/share/pixmaps
    1.45 +
    1.46 +	cp	$src/src/*	$fs/var/www/p4wn
    1.47 +	rm -f			$fs/var/www/p4wn/README
    1.48 +	rm -f			$fs/var/www/p4wn/*background.png
    1.49 +	chown -R 80.80		$fs/var/www/p4wn
    1.50  	cat > $fs/usr/share/applications/p4wn.desktop <<EOT
    1.51  [Desktop Entry]
    1.52  Type=Application