# HG changeset patch # User Hans-G?nter Theisgen # Date 1655310843 -3600 # Node ID 04e64403277977094a3f05d8e35ee1e0a80ec0ac # Parent bca2771f44f4007a10791595c12f6369e1755c9a updated p4wn (1.0 -> 2.01) diff -r bca2771f44f4 -r 04e644032779 p4wn/description.txt --- a/p4wn/description.txt Wed Jun 15 17:22:15 2022 +0100 +++ b/p4wn/description.txt Wed Jun 15 17:34:03 2022 +0100 @@ -1,2 +1,4 @@ -A concise javascript chess engine, first written for the 5k web competition. It -plays at the level of a lazy amateur, so is a good match for most opponents. +A concise javascript chess engine, first written for the +5k web competition. +It plays at the level of a lazy amateur, so is a good +match for most opponents. diff -r bca2771f44f4 -r 04e644032779 p4wn/receipt --- a/p4wn/receipt Wed Jun 15 17:22:15 2022 +0100 +++ b/p4wn/receipt Wed Jun 15 17:34:03 2022 +0100 @@ -1,14 +1,15 @@ # SliTaz package receipt. PACKAGE="p4wn" -VERSION="1.0" +VERSION="2.01" CATEGORY="games" -SHORT_DESC="Chess game in javascript" +SHORT_DESC="Chess game in javascript." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="PublicDomain" -WEB_SITE="http://p4wn.sourceforge.net/" -TARBALL="sven_vehars_fancy_version.zip" -WGET_URL="$WEB_SITE/downloads/$TARBALL" +WEB_SITE="https://sourceforge.net/projects/p4wn/" + +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" # What is the latest version available today? current_version() @@ -20,7 +21,7 @@ # Rules to configure and make the package. compile_rules() { - cd $src + cd src sed -i '/background-image/d' *.css sed -i 's|title>.*Chess $fs/usr/share/applications/p4wn.desktop <