# Packager: Tim Beech #Former packager: George Vlahavas pkgname=tuxtype pkgver=1.8.0 pkgrel=2tjb source=("http://alioth.debian.org/frs/download.php/3175/tuxtype_w_fonts-1.8.0.tar.gz" "tuxtype.png") sourcetemplate=http://people.salixos.org/mimosa/packages/$pkgname/$pkgver docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "about-nls") url=http://tux4kids.alioth.debian.org/tuxtype/index.php slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "tuxtype (an educational typing tutor for kids)" "TuxTyping is an educational typing tutor for kids starring Tux, the" "Linux penguin. This educational game comes with two different games" "for practicing your typing, and having a great time doing it." ) build() { cd $startdir/src/tuxtype_w_fonts-$pkgver ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc make || return 1 make install DESTDIR=$startdir/pkg mkdir -p $startdir/pkg/usr/doc/$pkgname-$pkgver mv $startdir/pkg/usr/share/doc/tuxtype/* $startdir/pkg/usr/doc/$pkgname-$pkgver/ rm -rf $startdir/pkg/usr/share/doc mkdir -p $startdir/pkg/usr/share/applications cp tuxtype.desktop $startdir/pkg/usr/share/applications/ sed -i "s/Categories=.*/Categories=Game;KidsGame;/" $startdir/pkg/usr/share/applications/tuxtype.desktop mkdir -p $startdir/pkg/usr/share/icons/hicolor/48x48/apps cp $startdir/src/tuxtype.png $startdir/pkg/usr/share/icons/hicolor/48x48/apps/ }