# $Id: PKGBUILD 104369 2014-01-19 16:29:32Z bpiotrowski $ # Maintainer: Jonathan Steel # Contributor: megadriver # Contributor: Angel Velasquez # Contributor: Daenyth # Contributor: kagan # Contributor: Hans-Kristian Arntzen pkgname=mednafen pkgver=0.9.32.1 _pkgver=$pkgver-wip pkgrel=2 pkgdesc="A command-line multi-system gaming emulator" url="http://mednafen.sourceforge.net" license=('GPL') arch=('i686' 'x86_64') depends=('libcdio' 'libsamplerate' 'sdl_net' 'zlib') makedepends=('mesa' 'glu') replaces=('mednafen-wip') install="$pkgname.install" source=(http://downloads.sourceforge.net/mednafen/$pkgname-$_pkgver.tar.bz2) md5sums=('ee9edeece554755e762a6d140fad21e9') build() { cd "$srcdir"/$pkgname ./configure --prefix=/usr make } package() { cd "$srcdir"/$pkgname make DESTDIR="$pkgdir"/ install }