#Packager: George Vlahavas pkgname=mednafen pkgver=0.8.C pkgrel=1gv source=("http://mednafen.sourceforge.net/releases/mednafen-$pkgver.tar.bz2" "http://downloads.sourceforge.net/project/mednafenfe/mfe-0.1.6.tar.gz") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "about-nls") url=http://mednafen.sourceforge.net/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "mednafen (a multisystem emulator)" "Mednafen is a portable, utilizing OpenGL and SDL, argument" "(command-line)-driven multi-system emulator with many advanced" "features. The Atari Lynx, GameBoy (Color), GameBoy Advance, NES, PC" "Engine (TurboGrafx 16), SuperGrafx, Neo Geo Pocket (Color), PC-FX," "and WonderSwan (Color) are emulated. Mednafen has the ability to remap" "hotkey functions and virtual system inputs to a keyboard, a joystick," "or both simultaneously." "This package includes the mednafenfe front-end." ) build() { cd $startdir/src/$pkgname ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --build=$arch-slackware-linux --disable-alsatest --disable-static --disable-jack make || return 1 make install DESTDIR=$startdir/pkg cd $startdir/src/mfe-0.1.6 python setup.py install --prefix=/usr --root=$startdir/pkg mkdir -p $startdir/pkg/usr/share/icons/hicolor/128x128/apps ( cd $startdir/pkg/usr/share/icons/hicolor/128x128/apps ln -s ../../../../pixmaps/mfe.png mfe.png ) }