# Maintainer: Angel Velasquez # Contributor: Daenyth # Contributor: kagan pkgname=mednafen pkgver=0.8.D.3 pkgrel=2 pkgdesc="A command-line multi-system gaming emulator" url="http://mednafen.sourceforge.net/" license=('GPL') arch=('i686' 'x86_64') depends=('libcdio' 'libsamplerate' 'libogg' 'libvorbis' 'sdl' 'sdl_net' 'libsndfile' 'zlib') makedepends=('pkgconfig' 'mesa') changelog=ChangeLog source=(http://downloads.sourceforge.net/mednafen/$pkgname-$pkgver.tar.bz2 mednafen-0.8.13.3-zlib-1.2.6.patch) md5sums=('57d22805071becd81858b0c088a275e5' '450bb5aa7552db5b8f6d6713bdb725ce') build() { cd $srcdir/$pkgname patch -Np1 -i $srcdir/mednafen-0.8.13.3-zlib-1.2.6.patch ./configure --prefix=/usr make } package() { cd $srcdir/$pkgname make DESTDIR=$pkgdir install }