wok diff powermanga/receipt @ rev 22498

updated aspell-en (7.1-0 -> 2019.10.06.0)
author Hans-G?nter Theisgen
date Wed Jan 01 09:13:39 2020 +0100 (2020-01-01)
parents 125ba2464bdc
children 7c0170dd3ecc
line diff
     1.1 --- a/powermanga/receipt	Thu Jun 06 15:09:01 2019 +0100
     1.2 +++ b/powermanga/receipt	Wed Jan 01 09:13:39 2020 +0100
     1.3 @@ -4,23 +4,20 @@
     1.4  VERSION="0.93.1"
     1.5  CATEGORY="games"
     1.6  SHORT_DESC="Space War."
     1.7 -MAINTAINER="arca2@hotmail.com"
     1.8 +MAINTAINER="arca1085@gmail.com <Rene Rivero>"
     1.9  LICENSE="GPL2"
    1.10  WEB_SITE="http://linux.tlk.fr/games/Powermanga/"
    1.11  
    1.12  TARBALL="$PACKAGE-$VERSION.tgz"
    1.13  WGET_URL="${WEB_SITE}download/$TARBALL"
    1.14  
    1.15 -DEPENDS="libsdl-mixer zlib"
    1.16 -BUILD_DEPENDS="automake libsdl-dev libsdl-mixer-dev zlib-dev"
    1.17 -
    1.18 -# Packaging for SliTaz by Rene Rivero.
    1.19 +DEPENDS="libsdl-mixer zlib libogg"
    1.20 +BUILD_DEPENDS="automake libsdl-dev libsdl-mixer-dev zlib-dev libogg-dev"
    1.21  
    1.22  # Rules to configure and make the package.
    1.23  compile_rules()
    1.24  {
    1.25  	sed -i 's|SDL_mixer.h|SDL/SDL_mixer.h|' src/sdl_mixer.c
    1.26 -#	sed -i '239,243 s|^|// |' src/sdl_mixer.cpp
    1.27  
    1.28  	./bootstrap &&
    1.29  	./configure &&
    1.30 @@ -33,12 +30,19 @@
    1.31  {
    1.32  	mkdir -p $fs/usr/share/applications
    1.33  
    1.34 +	rm $install/usr/share/games/powermanga/sounds/*.zik
    1.35 +	cp -a $install/usr/share/games/powermanga/sound/handheld_console/*.ogg $install/usr/share/games/powermanga/sounds/
    1.36 +	mv $install/usr/share/games/powermanga/sounds/music_congratulations.ogg $install/usr/share/games/powermanga/sounds/music_congratulations.zik
    1.37 +	mv $install/usr/share/games/powermanga/sounds/music_game.ogg $install/usr/share/games/powermanga/sounds/music_game.zik
    1.38 +	mv $install/usr/share/games/powermanga/sounds/music_menu.ogg $install/usr/share/games/powermanga/sounds/music_menu.zik
    1.39  	cp -a $install/var		$fs
    1.40  	cp -a $install/usr/games	$fs/usr
    1.41  	cp -a $install/usr/share/games	$fs/usr/share
    1.42  	cp -a $src/texts		$fs/usr/share/games/powermanga
    1.43  	cp $stuff/power-manga.png	$fs/usr/share/games/powermanga
    1.44  	cp $stuff/powermanga.desktop	$fs/usr/share/applications
    1.45 +	mkdir -p $fs/var/games/powermanga
    1.46 +	chmod -R 777 $fs/var/games/powermanga
    1.47  
    1.48  	chown -R root.root $fs
    1.49  }