wok diff nanochess/receipt @ rev 12795

slitaz-base-files: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 18 09:43:02 2012 +0200 (2012-05-18)
parents 00d3597d0816
children a0250385f2a5
line diff
     1.1 --- a/nanochess/receipt	Sun Mar 11 08:44:41 2012 +0100
     1.2 +++ b/nanochess/receipt	Fri May 18 09:43:02 2012 +0200
     1.3 @@ -11,10 +11,10 @@
     1.4  compile_rules()
     1.5  {
     1.6  	# define colors
     1.7 -	background="black"	# was white
     1.8  	white="#f0f0b0"		# was #f0f0f0
     1.9  	black="#f05030"		# was #c0c0f0
    1.10  	gray="#843"		# was #dde
    1.11 +	background="$white"	# was white
    1.12  	red="blue"	
    1.13  	
    1.14  	mkdir -p $src 2> /dev/null
    1.15 @@ -27,7 +27,7 @@
    1.16  	  -e "s/c0c\":\"f0f\")+\"0f0/$white\":\"$black\")+\"/" \
    1.17  	  -e "s/#dde/$gray/" -e "s/red/$red/" -e 's/bgcolor=#/bgcolor=/' \
    1.18  	  -e 's|^doc.*|yy=/\\?b/i.test(document.URL)?8:0;for(p=18;++p<23;)a+="<option>\&#9823; \&rarr; \&#98"+p+";</option>";document.write(a);|' \
    1.19 -	  -e "s|<script>|<style>body {background: $background;}</style><title>Toledo chess</title>&|" \
    1.20 +	  -e "s|<script>|<style>body {background: $background; overflow: hidden;} input,select {background: transparent; -webkit-appearance: none;}</style>\n<title>Toledo chess</title>&|" \
    1.21  	  -e 's|function Y|function Z(){if(y!=yy)setTimeout("X(0,0,0,21,u,2),X(0,0,0,21,u,1)",250);}\n&|' \
    1.22  	  -e 's|if(y)set.*|Z();}}Z()|' \
    1.23  		index.html