wok-stable diff prboom/receipt @ rev 5554

opentyrian-classic, pidgin-facebookchat, prboom, rgzip: cache extra wget'd files in SOURCES_REPOSITORY
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 13 22:57:11 2010 +0200 (2010-05-13)
parents de5d8ec1d324
children c161b9c835d2
line diff
     1.1 --- a/prboom/receipt	Mon Mar 01 09:06:07 2010 +0000
     1.2 +++ b/prboom/receipt	Thu May 13 22:57:11 2010 +0200
     1.3 @@ -38,7 +38,9 @@
     1.4  	cp -a $_pkg/usr/share/games $fs/usr/share
     1.5  	
     1.6  	echo "Downloading game data : doom1.wad"
     1.7 -	wget http://people.slitaz.org/~mallory/stuff/prboom/doom1.wad -O $fs/usr/share/games/doom/doom1.wad
     1.8 +	[ -f $SOURCES_REPOSITORY/doom1.wad ] ||
     1.9 +	wget http://people.slitaz.org/~mallory/stuff/prboom/doom1.wad -P $SOURCES_REPOSITORY
    1.10 +	cp $SOURCES_REPOSITORY/doom1.wad $fs/usr/share/games/doom
    1.11  
    1.12  	echo "Copying metadata"
    1.13  	cp stuff/prboom.desktop $fs/usr/share/applications