#Maintainer: George Vlahavas (vlahavas~at~gmail~dot~com, gapan@zenwalk forums) pkgname=tmw pkgver=0.0.28.1 zenver=60 pkgrel=1 arch=i486 source=("http://downloads.sourceforge.net/themanaworld/tmw-$pkgver.tar.gz" "http://pnboy.pinguix.com/gapan/games/$pkgname/icons.tar.gz") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "maintainers") url=http://themanaworld.org sourcetemplate=http://pnboy.pinguix.com/gapan/games/$pkgname options=('norequiredbuilder' 'keepdepfile' 'noautodotnew') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "tmw - A free open source 2D MMORPG" "The Mana World (TMW) is a serious effort to create an innovative" "free and open source MMORPG. TMW uses 2D graphics and aims to create a" "large and diverse interactive world. It is licensed under the GPL," "making sure this game can't ever run away from you." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc make || return 1 make install DESTDIR=$startdir/pkg # Copy icons to the right place ICONSIZES="96 72 64 48 32 24 22 16" for i in $ICONSIZES; do mkdir -p $startdir/pkg/usr/share/icons/hicolor/$i\x$i/apps; mv $startdir/src/$pkgname-$i.png $startdir/pkg/usr/share/icons/hicolor/$i\x$i/apps/$pkgname.png; done; sed -i "s/\.png//" $startdir/pkg/usr/share/applications/tmw.desktop }