# SliTaz package receipt. PACKAGE="sudoku" VERSION="2.3" CATEGORY="games" SHORT_DESC="Sudoku game in javascript" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="unknown" TARBALL="$PACKAGE-$VERSION" WEB_SITE="https://web.archive.org/web/20140124072600/http://10k.aneventapart.com/1/Entry/81" WGET_URL="https://web.archive.org/web/20140124074927/http://10k.aneventapart.com/1/Uploads/81/" HOST_ARCH="any" GENERIC_PIXMAPS="no" COOKOPTS="!pixmaps" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/var/www/$PACKAGE $fs/usr/share/applications sed -e '/BEGIN WAYBACK TOOLBAR INSERT/,/END WAYBACK TOOLBAR INSERT/d' \ -e '/analytics.js/,/End Wayback Rewrite JS Include/d' \ -e '/<\/html>/,$d' < $src/$TARBALL > $fs/var/www/$PACKAGE/index.html echo '' >> $fs/var/www/$PACKAGE/index.html grep -q '' $fs/var/www/$PACKAGE/index.html || sed -i 's||&\n|' $fs/var/www/$PACKAGE/index.html chown -R 80.80 $fs/var/www/$PACKAGE cat > $fs/usr/share/applications/sudoku.desktop <