#Packager: George Vlahavas (vlahavas~at~gmail~dot~com) pkgname=e-uae pkgver=0.8.29.wip4 pkgrel=1gv arch=x86_64 source=("http://www.rcdrummond.net/uae/e-uae-0.8.29-WIP4/e-uae-0.8.29-WIP4.tar.bz2" "icons.tar.gz" "e-uae.desktop") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "maintainers" "*.txt") url=http://www.rcdrummond.net/uae/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "e-uae (an emulator for the Commodore Amiga)" "E-UAE is a version of UAE, the Ubiquitous Amiga Emulator, with an" "emulation core largely based on WinUAE. It attempts to bring many of" "the great features of WinUAE to non-Windows platforms. E-UAE is" "open-source software and is made available under the terms of the GNU" "GPL." "To make full use of E-UAE you will need access to an image of some" "version of the Amiga Kickstart ROM (although UAE does include a ROM" "emulation which may work with some old games). The Amiga Kickstart" "ROMs are copyrighted material and may not be freely distributed." ) build() { cd $startdir/src/$pkgname-0.8.29-WIP4 ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --enable-aga --enable-cdtv --enable-cd32 --enable-cycle-exact-cpu --enable-compatible-cpu --enable-jit --enable-natmem --enable-threads --enable-autoconfig --disable-scsi-device --enable-action-replay --with-sdl --with-sdl-sound --with-sdl-gfx --with-sdl-gl make || return 1 make install DESTDIR=$startdir/pkg mkdir -p $startdir/pkg/usr/share/applications/ cp $startdir/src/e-uae.desktop $startdir/pkg/usr/share/applications/ # Copy icons to the right place ICONSIZES="128 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; }