wok-6.x diff xgalaga/receipt @ rev 18693

slitaz-icons-faenza: rename applications-science into applications-education (thanks llev)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Dec 13 22:37:22 2015 +0200 (2015-12-13)
parents a2f46addb1eb
children 86790a278e70
line diff
     1.1 --- a/xgalaga/receipt	Thu Nov 06 11:33:11 2014 +0100
     1.2 +++ b/xgalaga/receipt	Sun Dec 13 22:37:22 2015 +0200
     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