wok-next diff othello/receipt @ rev 21037

Small updates.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Nov 06 16:35:54 2018 +0200 (2018-11-06)
parents b278b2018965
children d635206a5649
line diff
     1.1 --- a/othello/receipt	Mon Mar 12 02:18:53 2018 +0200
     1.2 +++ b/othello/receipt	Tue Nov 06 16:35:54 2018 +0200
     1.3 @@ -6,7 +6,7 @@
     1.4  SHORT_DESC="Othello game in javascript"
     1.5  MAINTAINER="pascal.bellard@slitaz.org"
     1.6  LICENSE="MIT"
     1.7 -WEB_SITE="http://www.posi.net/software/othello/"
     1.8 +WEB_SITE="https://web.archive.org/web/20101231221346/http://www.posi.net:80/software/othello/"
     1.9  
    1.10  TARBALL="$PACKAGE-$VERSION.tar.lzma"
    1.11  
    1.12 @@ -25,29 +25,18 @@
    1.13  	fi
    1.14  	#for i in index.html othello.js \
    1.15  	#	images/blank.gif images/white.gif images/black.gif \
    1.16 -	#	images/white-trans.gif images/black-trans.gif ; do
    1.17 +	#	images/white-trans.gif images/black-trans.gif; do
    1.18  	#	[ -s $i ] || wget -P $(dirname $i) $WEB_SITE/$i
    1.19  	#done
    1.20  	sed -i 's|TITLE>.*</TITLE|TITLE>Othello</TITLE|' index.html
    1.21  
    1.22 -	mkdir -p \
    1.23 -		$install/var/www/othello \
    1.24 -		$install/usr/share/applications
    1.25 +	mkdir -p $install/var/www/othello
    1.26  	cp -a $src/* $install/var/www/othello
    1.27  	chown -R 80.80 $install/var/www/othello
    1.28 -	cat > $install/usr/share/applications/othello.desktop <<EOT
    1.29 -[Desktop Entry]
    1.30 -Type=Application
    1.31 -Name=Othello
    1.32 -Exec=browser file:///var/www/othello/index.html
    1.33 -Icon=/var/www/othello/images/black.gif
    1.34 -Terminal=false
    1.35 -Categories=Game;
    1.36 -Comment=Othello game
    1.37 -EOT
    1.38 +
    1.39 +	install -Dm644 $stuff/othello.desktop $install/usr/share/applications/othello.desktop
    1.40  }
    1.41  
    1.42  genpkg_rules() {
    1.43  	copy @std
    1.44  }
    1.45 -