wok-next diff xgalaga/receipt @ rev 17790

Up: yasm 1.3.0
author Alexander Medvedev <devl547@gmail.com>
date Sat Mar 14 21:55:50 2015 +0000 (2015-03-14)
parents a2f46addb1eb
children 7639f09792cf
line diff
     1.1 --- a/xgalaga/receipt	Thu Nov 06 11:33:11 2014 +0100
     1.2 +++ b/xgalaga/receipt	Sat Mar 14 21:55:50 2015 +0000
     1.3 @@ -23,7 +23,12 @@
     1.4  		-e 's|@exec_prefix@|/usr/bin|' \
     1.5  		-e 's|@CREDITSFILE@|/usr/share/xgalaga/CREDITS|' \
     1.6  			Makefile.in
     1.7 -	./configure $CONFIGURE_ARGS &&
     1.8 +	./configure $CONFIGURE_ARGS
     1.9 +	sed -i	-e 's|/usr/sounds/|/usr/share/xgalaga/sounds/|' \
    1.10 +		-e 's|/usr/levels/|/usr/share/xgalaga/levels/|' \
    1.11 +		-e 's|/usr/CREDITS|/usr/share/xgalaga/CREDITS|' \
    1.12 +		-e 's|/usr/scores|/var/games/xgalaga/scores|' \
    1.13 +			config.h
    1.14  	make &&
    1.15  	make DESTDIR=$DESTDIR install
    1.16  }
    1.17 @@ -31,8 +36,9 @@
    1.18  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.19  genpkg_rules()
    1.20  {
    1.21 -	mkdir -p $fs/usr/share
    1.22 +	mkdir -p $fs/usr/share/applications $fs/var/games/xgalaga/scores
    1.23  	cp -a $install/usr/share/xgalaga $fs/usr/share
    1.24  	cp -a $install/usr/bin $fs/usr
    1.25 +	cp $stuff/*.desktop $fs/usr/share/applications
    1.26  }
    1.27