wok rev 25104

Up klavaro (1.2.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 22 08:45:04 2022 +0000 (22 months ago)
parents 32a0c44693d5
children 7a500035d756
files klavaro/receipt sudoku/receipt
line diff
     1.1 --- a/klavaro/receipt	Tue Jun 21 20:15:18 2022 +0000
     1.2 +++ b/klavaro/receipt	Wed Jun 22 08:45:04 2022 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="klavaro"
     1.7 -VERSION="1.2.2"
     1.8 +VERSION="1.9.9"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="Free touch typing tutor program."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 @@ -25,7 +25,6 @@
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {
    1.16 -	cd $src
    1.17  	export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lgmodule-2.0"
    1.18  	./configure \
    1.19  		--prefix=/usr \
     2.1 --- a/sudoku/receipt	Tue Jun 21 20:15:18 2022 +0000
     2.2 +++ b/sudoku/receipt	Wed Jun 22 08:45:04 2022 +0000
     2.3 @@ -8,7 +8,7 @@
     2.4  LICENSE="unknown"
     2.5  TARBALL="$PACKAGE-$VERSION"
     2.6  WEB_SITE="https://web.archive.org/web/20140124072600/http://10k.aneventapart.com/1/Entry/81"
     2.7 -WGET_URL="https://web.archive.org/web/20140124072600/http://10k.aneventapart.com/1/Uploads/81/index.html"
     2.8 +WGET_URL="https://web.archive.org/web/20140124074927/http://10k.aneventapart.com/1/Uploads/81/"
     2.9  HOST_ARCH="any"
    2.10  GENERIC_PIXMAPS="no"
    2.11  COOKOPTS="!pixmaps"
    2.12 @@ -17,7 +17,12 @@
    2.13  genpkg_rules()
    2.14  {
    2.15          mkdir -p $fs/var/www/$PACKAGE $fs/usr/share/applications
    2.16 -	cp $src/$TARBALL $fs/var/www/$PACKAGE/index.html
    2.17 +	sed	-e '/BEGIN WAYBACK TOOLBAR INSERT/,/END WAYBACK TOOLBAR INSERT/d' \
    2.18 +		-e '/analytics.js/,/End Wayback Rewrite JS Include/d' \
    2.19 +		-e '/<\/html>/,$d' < $src/$TARBALL > $fs/var/www/$PACKAGE/index.html
    2.20 +	echo '</html>' >> $fs/var/www/$PACKAGE/index.html
    2.21 +	grep -q '<head>' $fs/var/www/$PACKAGE/index.html ||
    2.22 +	sed -i 's|<html>|&\n<head>|' $fs/var/www/$PACKAGE/index.html
    2.23  	chown -R 80.80 $fs/var/www/$PACKAGE
    2.24  	cat > $fs/usr/share/applications/sudoku.desktop <<EOT
    2.25  [Desktop Entry]