wok rev 9031

scummvm: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 03 22:31:11 2011 +0100 (2011-03-03)
parents a477108d3163
children b1c161e563ff
files scummvm/receipt
line diff
     1.1 --- a/scummvm/receipt	Thu Mar 03 16:29:06 2011 +0000
     1.2 +++ b/scummvm/receipt	Thu Mar 03 22:31:11 2011 +0100
     1.3 @@ -20,7 +20,10 @@
     1.4  		--with-mpeg2-prefix=/usr \
     1.5  		--with-flac-prefix=/usr \
     1.6  		--disable-fluidsynth &&
     1.7 -	make && make install
     1.8 +	make && make install && {
     1.9 +		mkdir -p $DESTDIR/usr/share/applications
    1.10 +		cp -a dists/scummvm.desktop $DESTDIR/usr/share/applications		
    1.11 +	}
    1.12  }
    1.13  
    1.14  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.15 @@ -29,6 +32,6 @@
    1.16  	mkdir -p $fs/usr/share/applications $fs/usr/games
    1.17  	cp -a $_pkg/usr/bin $fs/usr
    1.18  	cp -a $_pkg/usr/games/scummvm $fs/usr/games
    1.19 -	cp -a $src/dists/scummvm.desktop $fs/usr/share/applications
    1.20 +	cp -a $_pkg/usr/share/applications/scummvm.desktop $fs/usr/share/applications
    1.21  }
    1.22