wok rev 2716

Fix: prboom
* Remove data from stuff
* Add .desktop and icon
* Fix receipt
author Mallory MOLLO <mallory@skyrock.com>
date Thu Apr 23 19:56:50 2009 +0200 (2009-04-23)
parents 8b97e8e73827
children 3eadd42e4748
files prboom/receipt prboom/stuff/doom.png prboom/stuff/doom1.wad prboom/stuff/prboom.desktop
line diff
     1.1 --- a/prboom/receipt	Thu Apr 23 16:59:05 2009 +0200
     1.2 +++ b/prboom/receipt	Thu Apr 23 19:56:50 2009 +0200
     1.3 @@ -26,9 +26,21 @@
     1.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     1.5  genpkg_rules()
     1.6  {
     1.7 -	mkdir -p $fs/usr/games $fs/usr/share/games
     1.8 +	echo "Creating package tree"
     1.9 +	mkdir -p $fs/usr/games \
    1.10 +		$fs/usr/share/games \
    1.11 +		$fs/usr/share/applications \
    1.12 +		$fs/usr/share/pixmaps
    1.13 +
    1.14 +	echo "Copying package files"
    1.15  	cp -a $_pkg/usr/games $fs/usr
    1.16 -    cp -a $_pkg/usr/share/games $fs/usr/share
    1.17 -    cp stuff/doom1.wad $fs/usr/share/games/doom
    1.18 +	cp -a $_pkg/usr/share/games $fs/usr/share
    1.19 +	
    1.20 +	echo "Downloading game data : doom1.wad"
    1.21 +	wget http://people.slitaz.org/~mallory/stuff/prboom/doom1.wad -O $fs/usr/share/games/doom/doom1.wad
    1.22 +
    1.23 +	echo "Copying metadata"
    1.24 +	cp stuff/applications/prboom.desktop $fs/usr/share/applications
    1.25 +	cp stuff/doom.png $fs/usr/share/pixmaps	
    1.26  }
    1.27  
     2.1 Binary file prboom/stuff/doom.png has changed
     3.1 Binary file prboom/stuff/doom1.wad has changed
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/prboom/stuff/prboom.desktop	Thu Apr 23 19:56:50 2009 +0200
     4.3 @@ -0,0 +1,8 @@
     4.4 +[Desktop Entry]
     4.5 +Encoding=UTF-8
     4.6 +Name=PrBoom
     4.7 +Comment=DooM for Linux
     4.8 +Exec=prboom
     4.9 +Icon=doom.png
    4.10 +Type=Application
    4.11 +Categories=Application;Game;