#Maintainer: fushark pkgname=littlewizard pkgver=1.2.2 pkgrel=1 zenver=54 arch=i486 source=(http://downloads.sourceforge.net/littlewizard/$pkgname-$pkgver.tar.gz) sourcetemplate=http://users.zenwalk.org/user-accounts/fushark/littlewizard url=http://littlewizard.sf.net doinst() { ( cd usr/share/icons/hicolor/48x48/apps ; rm -rf littlewizard-icon.png ) ( cd usr/share/icons/hicolor/48x48/apps ; ln -sf ../../../../pixmaps/littlewizard/littlewizard-icon.png littlewizard-icon.png ) } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname - development environment for children" "Little Wizard is a development environment for children. It is" "intended to be used by primary school children to learn about the main" "elements of real computer languages. Using only the mouse, children" "can explore programming concepts such as variables, expressions," "loops, conditions, and logical blocks. Every element of the language" "is represented by an intuitive icon, making it easy to learn. Little" "Wizard works under Linux and Windows 2000/XP." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc make || return 1 make install DESTDIR=$startdir/pkg #correct desktop file cd $startdir/pkg/usr/share/applications sed -i "s_/usr/share/pixmaps/littlewizard/__g" littlewizard.desktop #add ABOUT-NLS to doc dir cd $startdir/src/$pkgname-$pkgver cp -f ABOUT-NLS $startdir/pkg/usr/doc/littlewizard #make icon directory cd $startdir/pkg mkdir -p usr/share/icons/hicolor/48x48/apps }