wok-next rev 21438

updated rogue (5.4.4 -> 5.4.5)
author Hans-G?nter Theisgen
date Tue May 05 15:41:43 2020 +0100 (2020-05-05)
parents e61a73eeae6e
children aafbd0a789ef
files rogue/receipt
line diff
     1.1 --- a/rogue/receipt	Tue May 05 15:36:05 2020 +0100
     1.2 +++ b/rogue/receipt	Tue May 05 15:41:43 2020 +0100
     1.3 @@ -1,10 +1,10 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="rogue"
     1.7 -VERSION="5.4.4"
     1.8 +VERSION="5.4.5"
     1.9  CATEGORY="non-free"
    1.10  SHORT_DESC="The classic dungeon exploration game"
    1.11 -MAINTAINER="devel@slitaz.org"
    1.12 +MAINTAINER="maintainer@slitaz.org"
    1.13  LICENSE="BSD"
    1.14  WEB_SITE="https://web.archive.org/web/20160604020207/http://rogue.rogueforge.net/"
    1.15  
    1.16 @@ -13,31 +13,37 @@
    1.17  
    1.18  BUILD_DEPENDS="ncurses-dev"
    1.19  
    1.20 -compile_rules() {
    1.21 -	./configure \
    1.22 -		--prefix=/usr \
    1.23 -		--mandir=/usr/share/man \
    1.24 -		--enable-wizardmode \
    1.25 -		--enable-scorefile=/usr/games/rogue.scr \
    1.26 -		--enable-lockfile=/var/lock/rogue.lck \
    1.27 +compile_rules()
    1.28 +{
    1.29 +	./configure					\
    1.30 +		--prefix=/usr				\
    1.31 +		--mandir=/usr/share/man			\
    1.32 +		--enable-wizardmode			\
    1.33 +		--enable-scorefile=/usr/games/rogue.scr	\
    1.34 +		--enable-lockfile=/var/lock/rogue.lck	\
    1.35  		$CONFIGURE_ARGS &&
    1.36  	make &&
    1.37  	make DESTDIR=$install install
    1.38  }
    1.39  
    1.40 -genpkg_rules() {
    1.41 +genpkg_rules()
    1.42 +{
    1.43  	mkdir -p $fs/usr/share/rogue
    1.44  	mkdir -p $fs/usr/games
    1.45  	mkdir -p $fs/usr/share/licenses
    1.46  	mkdir -p $fs/usr/share/pixmaps
    1.47  	mkdir -p $fs/usr/share/applications
    1.48 -	cp -a $install/usr/bin $fs/usr
    1.49 -	cp -a $install/usr/games/rogue.scr $fs/usr/games/
    1.50 -	chmod 666 $fs/usr/games/rogue.scr
    1.51 -	cp -a $install/usr/share/doc/$PACKAGE-$VERSION/LICENSE.TXT $fs/usr/share/licenses/rogue.txt
    1.52 -	cp -a $install/usr/share/doc/$PACKAGE-$VERSION/rogue.html $fs/usr/share/rogue
    1.53 -	cp -a $src/rogue.png $fs/usr/share/pixmaps
    1.54 -	sed -i 's/Exec.*/Exec=xterm -e rogue/' $src/rogue.desktop
    1.55 -	cp -a $src/rogue.desktop $fs/usr/share/applications
    1.56 +
    1.57 +	cp -a $install/usr/bin			$fs/usr
    1.58 +	cp -a $install/usr/games/rogue.scr	$fs/usr/games/
    1.59 +	chmod 666				$fs/usr/games/rogue.scr
    1.60 +	cp -a $install/usr/share/doc/$PACKAGE-$VERSION/LICENSE.TXT \
    1.61 +						$fs/usr/share/licenses/rogue.txt
    1.62 +	cp -a $install/usr/share/doc/$PACKAGE-$VERSION/rogue.html \
    1.63 +						$fs/usr/share/rogue
    1.64 +	cp -a $src/rogue.png			$fs/usr/share/pixmaps
    1.65 +	sed -i 's/Exec.*/Exec=xterm -e rogue/'	$src/rogue.desktop
    1.66 +	cp -a $src/rogue.desktop		$fs/usr/share/applications
    1.67 +
    1.68  	DEPENDS="ncurses"
    1.69  }