wok-next rev 11760

up tuxtype (1.8.1) and removed extension from desktop file
author Samuel Trassare <samuel_trassare@yahoo.com>
date Wed Feb 22 13:06:57 2012 -0800 (2012-02-22)
parents 67ce1202c916
children 8e758a7a90c9
files tuxtype/description.txt tuxtype/receipt tuxtype/stuff/tuxtype.desktop
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/tuxtype/description.txt	Wed Feb 22 13:06:57 2012 -0800
     1.3 @@ -0,0 +1,3 @@
     1.4 +TuxTyping is an educational typing tutor for kids starring Tux, the Linux 
     1.5 +penguin. This educational game comes with two different games for practicing 
     1.6 +your typing, and having a great time doing it.
     2.1 --- a/tuxtype/receipt	Wed Feb 22 12:21:48 2012 -0800
     2.2 +++ b/tuxtype/receipt	Wed Feb 22 13:06:57 2012 -0800
     2.3 @@ -2,16 +2,17 @@
     2.4  
     2.5  PACKAGE="tuxtype"
     2.6  SOURCE="tuxtype_w_fonts"
     2.7 -VERSION="1.8.0"
     2.8 +VERSION="1.8.1"
     2.9  CATEGORY="games"
    2.10  SHORT_DESC="Educational typing tutor for kids."
    2.11  MAINTAINER="claudinei@slitaz.org"
    2.12  TARBALL="$SOURCE-$VERSION.tar.gz"
    2.13  WEB_SITE="http://tux4kids.alioth.debian.org"
    2.14 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    2.15 -DEPENDS="libsdl libsdl-image libsdl-mixer libsdl-ttf"
    2.16 -BUILD_DEPENDS="$DEPENDS libsdl-dev libsdl-image-dev libsdl-mixer-dev \
    2.17 -libsdl-ttf-dev"
    2.18 +WGET_URL="https://alioth.debian.org/frs/download.php/3270/$TARBALL"
    2.19 +DEPENDS="libt4k_common libsdl librsvg libsdl-image libsdl-mixer libsdl-ttf \
    2.20 +libsdl-net libsdl-pango"
    2.21 +BUILD_DEPENDS="libt4k_common-dev libsdl-dev librsvg-dev libsdl-image-dev \
    2.22 +libsdl-mixer-dev libsdl-ttf-dev libsdl-net-dev libsdl-pango-dev"
    2.23  TAGS="education"
    2.24  
    2.25  
    2.26 @@ -21,12 +22,14 @@
    2.27  	cd $src
    2.28  	./configure \
    2.29  		--prefix=/usr \
    2.30 -		--localstatedir=/var/games \
    2.31 -		--without-sdlpango \
    2.32 -		--without-rsvg \
    2.33 +		--localstatedir=/var/games
    2.34  		$CONFIGURE_ARGS &&
    2.35 -	make &&
    2.36 -	make DESTDIR=$PWD/_pkg install
    2.37 +	make 
    2.38 +	# Adding the games group satisfies the install script.
    2.39 +	addgroup games 
    2.40 +	make DESTDIR=$PWD/_pkg install 
    2.41 +	# We don't need to leave this behind in the build environment.
    2.42 +	delgroup games
    2.43  }
    2.44  
    2.45  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.46 @@ -41,5 +44,12 @@
    2.47  		cp -a $_pkg/usr/share/locale/$lang/LC_MESSAGES/tuxtype.mo \
    2.48  			$fs/usr/share/locale/$lang/LC_MESSAGES
    2.49  	done
    2.50 +	
    2.51 +	cp -ar $_pkg/usr $fs
    2.52  }
    2.53  
    2.54 +post_install()
    2.55 +{
    2.56 +	echo "Adding games group if not already created:"
    2.57 +	addgroup games
    2.58 +}
     3.1 --- a/tuxtype/stuff/tuxtype.desktop	Wed Feb 22 12:21:48 2012 -0800
     3.2 +++ b/tuxtype/stuff/tuxtype.desktop	Wed Feb 22 13:06:57 2012 -0800
     3.3 @@ -3,6 +3,6 @@
     3.4  Encoding=UTF-8
     3.5  Name=Tuxtype
     3.6  Exec=tuxtype
     3.7 -Icon=tuxtype.png
     3.8 +Icon=tuxtype
     3.9  Terminal=false
    3.10  Categories=Application;Game;