# HG changeset patch # User Pascal Bellard # Date 1633286031 0 # Node ID 282f7eb39625d6d35150a431d02808415341791c # Parent eb5fb6d1c4c0f642be14df66c88aae814640bd85 Add sokojs diff -r eb5fb6d1c4c0 -r 282f7eb39625 sokojs/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sokojs/receipt Sun Oct 03 18:33:51 2021 +0000 @@ -0,0 +1,38 @@ +# SliTaz package receipt. + +PACKAGE="sokojs" +VERSION="2015" +CATEGORY="games" +SHORT_DESC="Sokoban clone in HTML / CSS / Javascript" +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL2" +TARBALL="$PACKAGE-$VERSION.zip" +WEB_SITE="http://buze.michel.chez.com/Boxworld/src.htm" +WGET_URL="http://buze.michel.chez.com/sokojs.zip" + +# Rules to configure and make the package. +compile_rules() +{ + dos2unix *.htm *.txt + sed -i '/sokojs.zip/d;/src.htm/d' level.htm + sed -i 's|Online.* ) ||' sokojs.htm + patch -p0 < $stuff/sokojs.u +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/var/www $fs/usr/share/applications $install/usr/share/doc + cp -a $src $fs/var/www/sokojs + mv $fs/var/www/sokojs/*.txt $install/usr/share/doc + cat > $fs/usr/share/applications/Sokoban.desktop < + + ++ ++ + + + + +- + + +\ No newline at end of file +--- sokojs.htm ++++ sokojs.htm +@@ -24,15 +24,16 @@ + Sokoban (C) Michel Buze + + ++ + + +- ++ + + + + + <body> +-Désolé, votre navigateur doit supporter les cadres (frames) ++Désolé, votre navigateur doit supporter les cadres (frames) + </body> + + diff -r eb5fb6d1c4c0 -r 282f7eb39625 webgames/receipt --- a/webgames/receipt Sat Oct 02 18:25:40 2021 +0000 +++ b/webgames/receipt Sun Oct 03 18:33:51 2021 +0000 @@ -36,8 +36,8 @@ Icon=${icon:-applications-games} EOT done <