wok-6.x rev 17345

xgalaga: add desktop files
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 07 10:39:54 2014 +0100 (2014-11-07)
parents 11d2c1928502
children bdfc0adbc3b2
files libsdl2-dev/receipt libsdl2/receipt pydf/receipt python-requests/receipt xgalaga/receipt xgalaga/stuff/xgalaga-hyperspace.desktop xgalaga/stuff/xgalaga.desktop
line diff
     1.1 --- a/libsdl2-dev/receipt	Thu Nov 06 15:27:15 2014 +0200
     1.2 +++ b/libsdl2-dev/receipt	Fri Nov 07 10:39:54 2014 +0100
     1.3 @@ -5,7 +5,7 @@
     1.4  CATEGORY="development"
     1.5  SHORT_DESC="a cross-platform interactive media development library - dev files"
     1.6  MAINTAINER="tcg.thegamer@gmail.com"
     1.7 -LICENSE="zlib"
     1.8 +LICENSE="zlib/libpng"
     1.9  TARBALL="SDL2-$VERSION.tar.gz"
    1.10  WEB_SITE="http://libsdl.org"
    1.11  WGET_URL="${WEB_SITE}/release/${TARBALL}"
     2.1 --- a/libsdl2/receipt	Thu Nov 06 15:27:15 2014 +0200
     2.2 +++ b/libsdl2/receipt	Fri Nov 07 10:39:54 2014 +0100
     2.3 @@ -5,7 +5,7 @@
     2.4  CATEGORY="x-window"
     2.5  SHORT_DESC="a cross-platform interactive media development library"
     2.6  MAINTAINER="tcg.thegamer@gmail.com"
     2.7 -LICENSE="zlib"
     2.8 +LICENSE="zlib/libpng"
     2.9  TARBALL="SDL2-$VERSION.tar.gz"
    2.10  WEB_SITE="http://libsdl.org"
    2.11  WGET_URL="${WEB_SITE}/release/${TARBALL}"
     3.1 --- a/pydf/receipt	Thu Nov 06 15:27:15 2014 +0200
     3.2 +++ b/pydf/receipt	Fri Nov 07 10:39:54 2014 +0100
     3.3 @@ -5,7 +5,7 @@
     3.4  CATEGORY="utilities"
     3.5  SHORT_DESC="Python disk file system."
     3.6  MAINTAINER="paul@slitaz.org"
     3.7 -LICENSE="Publicdomain"
     3.8 +LICENSE="PublicDomain"
     3.9  DEPENDS="python"
    3.10  TARBALL="${PACKAGE}_${VERSION}.tar.gz"
    3.11  WEB_SITE="http://kassiopeia.juls.savba.sk/~garabik/software/pydf/"
     4.1 --- a/python-requests/receipt	Thu Nov 06 15:27:15 2014 +0200
     4.2 +++ b/python-requests/receipt	Fri Nov 07 10:39:54 2014 +0100
     4.3 @@ -5,7 +5,7 @@
     4.4  CATEGORY="network"
     4.5  SHORT_DESC="Python HTTP Requests for Humans"
     4.6  MAINTAINER="al.bobylev@gmail.com"
     4.7 -LICENSE="Apache2"
     4.8 +LICENSE="Apache"
     4.9  WEB_SITE="http://python-requests.org/"
    4.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    4.11  WGET_URL="https://github.com/kennethreitz/requests/archive/v$VERSION.tar.gz"
     5.1 --- a/xgalaga/receipt	Thu Nov 06 15:27:15 2014 +0200
     5.2 +++ b/xgalaga/receipt	Fri Nov 07 10:39:54 2014 +0100
     5.3 @@ -23,7 +23,12 @@
     5.4  		-e 's|@exec_prefix@|/usr/bin|' \
     5.5  		-e 's|@CREDITSFILE@|/usr/share/xgalaga/CREDITS|' \
     5.6  			Makefile.in
     5.7 -	./configure $CONFIGURE_ARGS &&
     5.8 +	./configure $CONFIGURE_ARGS
     5.9 +	sed -i	-e 's|/usr/sounds/|/usr/share/xgalaga/sounds/|' \
    5.10 +		-e 's|/usr/levels/|/usr/share/xgalaga/levels/|' \
    5.11 +		-e 's|/usr/CREDITS|/usr/share/xgalaga/CREDITS|' \
    5.12 +		-e 's|/usr/scores|/var/games/xgalaga/scores|' \
    5.13 +			config.h
    5.14  	make &&
    5.15  	make DESTDIR=$DESTDIR install
    5.16  }
    5.17 @@ -31,8 +36,9 @@
    5.18  # Rules to gen a SliTaz package suitable for Tazpkg.
    5.19  genpkg_rules()
    5.20  {
    5.21 -	mkdir -p $fs/usr/share
    5.22 +	mkdir -p $fs/usr/share/applications $fs/var/games/xgalaga/scores
    5.23  	cp -a $install/usr/share/xgalaga $fs/usr/share
    5.24  	cp -a $install/usr/bin $fs/usr
    5.25 +	cp $stuff/*.desktop $fs/usr/share/applications
    5.26  }
    5.27  
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/xgalaga/stuff/xgalaga-hyperspace.desktop	Fri Nov 07 10:39:54 2014 +0100
     6.3 @@ -0,0 +1,8 @@
     6.4 +[Desktop Entry]
     6.5 +Type=Application
     6.6 +Name=Galaga:Hyperspace
     6.7 +Comment=Play enhanced Galaga Game
     6.8 +Exec=xgalaga-hyperspace
     6.9 +Icon=other
    6.10 +Terminal=false
    6.11 +Categories=Game;
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/xgalaga/stuff/xgalaga.desktop	Fri Nov 07 10:39:54 2014 +0100
     7.3 @@ -0,0 +1,8 @@
     7.4 +[Desktop Entry]
     7.5 +Type=Application
     7.6 +Name=Galaga
     7.7 +Comment=Play Galaga Game
     7.8 +Exec=xgalaga
     7.9 +Icon=other
    7.10 +Terminal=false
    7.11 +Categories=Game;