#Maintainer: Frederic Boulet bipbiponlinux~AT~gmail.com #FORMER: George Vlahavas (vlahavas~at~gmail~dot~com, gapan@zenwalk forums) pkgname=hatari pkgver=1.3.1 pkgrel=1 zenver=64 arch=i486 source=("http://download.berlios.de/hatari/hatari-$pkgver.tar.bz2" "http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/games/$pkgname/hatari.desktop" "http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/games/$pkgname/icons.tar.gz") sourcetemplate=http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/games/$pkgname docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "maintainers" "gpl.txt") url=http://hatari.sourceforge.net/ options=('norequiredbuilder' 'keepdepfile' 'noautodotnew') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "hatari - an Atari ST and STE emulator" "Hatari is an Atari ST and STE emulator. The Atari ST was a 16/32 bit" "computer system which was first released by Atari in 1985. Using the" "Motorola 68000 CPU, it was a very popular computer having quite a lot" "of CPU power at that time. Unlike many other Atari ST emulators which" "try to give you a good environment for running GEM applications," "Hatari tries to emulate the hardware of a ST as close as possible so" "that it is able to run most of the old ST games and demos." "The hatari package includes also a copy of emutos, an open-source" "replacement for TOS, the operating system used by Atari computers." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --disable-static make || return 1 make install DESTDIR=$startdir/pkg # Copy icons to the right place ICONSIZES="128 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; # Move docs to a better place mkdir -p $startdir/pkg/usr/doc/$pkgname-$pkgver mv $startdir/pkg/usr/share/doc/hatari/* $startdir/pkg/usr/doc/$pkgname-$pkgver rm -rf $startdir/pkg/usr/share/doc }