academic/tuxtype2: Updated for version 1.8.0 (+new maintainer).

Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
Jon Hulka 2011-03-02 18:47:04 -03:00 committed by Niels Horn
parent 7180591889
commit c0c63a2da4
4 changed files with 16 additions and 14 deletions

View file

@ -1,3 +1,5 @@
"Tux Typing" is an educational typing tutor for children. It
features several different types of gameplay, at a variety of
difficulty levels.
This requires SDL_Pango.

View file

@ -23,16 +23,15 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=tuxtype2
VERSION=${VERSION:-1.5.3}
VERSION=${VERSION:-1.8.0}
SRCPATH=tuxtype_w_fonts
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@ -59,9 +58,9 @@ fi
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP || exit 1
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* || exit 1
cd $PRGNAM-$VERSION || exit 1
rm -rf $SRCPATH-$VERSION
tar xvf $CWD/$SRCPATH-$VERSION.tar.?z* || exit 1
cd $SRCPATH-$VERSION || exit 1
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@ -88,7 +87,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/usr/share/{applications,pixmaps}
cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
( cd $PKG/usr/share/pixmaps
ln -s ../tuxtype2/tuxtype2.ico tuxtype2.png
ln -s ../tuxtype/images/icons/icon.png tuxtype2.png
)
mkdir -p $PKG/install

View file

@ -1,8 +1,9 @@
[Desktop Entry]
Encoding=UTF-8
Name=Tux Typing 2
GenericName=Educational Typing Tutor
Exec=tuxtype2
Exec=tuxtype
Terminal=false
Type=Application
Categories=Application;Education

View file

@ -1,10 +1,10 @@
PRGNAM="tuxtype2"
VERSION="1.5.3"
VERSION="1.8.0"
HOMEPAGE="http://tuxtype.sourceforge.net/"
DOWNLOAD="http://downloads.sourceforge.net/tuxtype/tuxtype2-1.5.3.tar.bz2"
MD5SUM="ca04e65d3b19ddeeedb8a49147ed642b"
DOWNLOAD="http://downloads.sourceforge.net/tuxtype/tuxtype_w_fonts-1.8.0.tar.gz"
MD5SUM="7294fc19db32a3134bd4112e9cb604c4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Frank Caraballo"
EMAIL="fecaraballo{at}gmail{dot}com"
APPROVED="dsomero"
MAINTAINER="Jon Hulka"
EMAIL="jon.hulka{at}gmail{dot}com"
APPROVED="Niels Horn"