# $Id$ # Maintainer: Jonathan Steel # Contributor: megadriver # Contributor: Angel Velasquez # Contributor: Daenyth # Contributor: kagan # Contributor: Hans-Kristian Arntzen pkgname=mednafen pkgver=0.9.36.5 pkgrel=2 pkgdesc="Command-line multi-system gaming emulator" url="http://mednafen.sourceforge.net" license=('GPL2') arch=('i686' 'x86_64') depends=('libcdio' 'libsndfile' 'sdl' 'zlib') makedepends=('mesa' 'glu') source=(http://downloads.sourceforge.net/mednafen/$pkgname-$pkgver.tar.bz2) md5sums=('a0841f0073322414858c22e247344502') build() { cd $pkgname ./configure --prefix=/usr make } package() { cd $pkgname make DESTDIR="$pkgdir" install for i in ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL NEWS \ README{,.DOS,.PORTING} TODO; do install -Dm644 $i "$pkgdir"/usr/share/doc/$pkgname/$i done }