wok-next diff powermanga/receipt @ rev 21414

updated powermanga (0.80 -> 0.93.1)
author Hans-G?nter Theisgen
date Sat Apr 25 17:45:14 2020 +0100 (2020-04-25)
parents 0f2575775b2d
children
line diff
     1.1 --- a/powermanga/receipt	Fri Dec 28 05:11:49 2018 +0200
     1.2 +++ b/powermanga/receipt	Sat Apr 25 17:45:14 2020 +0100
     1.3 @@ -1,10 +1,10 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="powermanga"
     1.7 -VERSION="0.80"
     1.8 +VERSION="0.93.1"
     1.9  CATEGORY="games"
    1.10  SHORT_DESC="Space War"
    1.11 -MAINTAINER="devel@slitaz.org"
    1.12 +MAINTAINER="maintainer@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14  WEB_SITE="http://linux.tlk.fr/games/Powermanga/"
    1.15  
    1.16 @@ -15,23 +15,29 @@
    1.17  
    1.18  # Packaging for SliTaz by Rene Rivero.
    1.19  
    1.20 -compile_rules() {
    1.21 -	sed -i 's|SDL_mixer.h|SDL/SDL_mixer.h|' src/sdl_mixer.cpp
    1.22 -	sed -i '239,243 s|^|// |' src/sdl_mixer.cpp
    1.23 +compile_rules()
    1.24 +{
    1.25 +	sed -i 's|SDL_mixer.h|SDL/SDL_mixer.h|' \
    1.26 +		src/sdl_mixer.cpp
    1.27 +	sed -i '239,243 s|^|// |' \
    1.28 +		src/sdl_mixer.cpp
    1.29  
    1.30  	./configure &&
    1.31  	make &&
    1.32  	make install
    1.33  }
    1.34  
    1.35 -genpkg_rules() {
    1.36 +genpkg_rules()
    1.37 +{
    1.38  	mkdir -p $fs/usr/share/applications
    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 -	chown -R root.root $fs
    1.46 +
    1.47 +	cp -a $install/var		$fs
    1.48 +	cp -a $install/usr/games	$fs/usr
    1.49 +	cp -a $install/usr/share/games	$fs/usr/share
    1.50 +	cp -a $src/texts		$fs/usr/share/games/powermanga
    1.51 +	cp $stuff/power-manga.png	$fs/usr/share/games/powermanga
    1.52 +	cp $stuff/powermanga.desktop	$fs/usr/share/applications
    1.53 +	chown -R root.root		$fs
    1.54 +
    1.55  	DEPENDS="sdl-mixer zlib"
    1.56  }