summaryrefslogtreecommitdiffstats
path: root/abs/extra/mednafen/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/mednafen/PKGBUILD')
-rw-r--r--abs/extra/mednafen/PKGBUILD40
1 files changed, 24 insertions, 16 deletions
diff --git a/abs/extra/mednafen/PKGBUILD b/abs/extra/mednafen/PKGBUILD
index 802249f..11948c9 100644
--- a/abs/extra/mednafen/PKGBUILD
+++ b/abs/extra/mednafen/PKGBUILD
@@ -1,30 +1,38 @@
-# Maintainer: Angel Velasquez <angvp@archlinux.org>
+# $Id$
+# Maintainer: Jonathan Steel <jsteel at archlinux.org>
+# Contributor: megadriver <megadriver at gmx dot com>
+# Contributor: Angel Velasquez <angvp@archlinux.org>
# Contributor: Daenyth <Daenyth+Arch [at] gmail [dot] com>
# Contributor: kagan <juanynie@mi.madritel.es>
+# Contributor: Hans-Kristian Arntzen <maister@archlinux.us>
pkgname=mednafen
-pkgver=0.8.D.3
+pkgver=0.9.36.5
pkgrel=2
-pkgdesc="A command-line multi-system gaming emulator"
-url="http://mednafen.sourceforge.net/"
-license=('GPL')
+pkgdesc="Command-line multi-system gaming emulator"
+url="http://mednafen.sourceforge.net"
+license=('GPL2')
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')
+depends=('libcdio' 'libsndfile' 'sdl' 'zlib')
+makedepends=('mesa' 'glu')
+source=(http://downloads.sourceforge.net/mednafen/$pkgname-$pkgver.tar.bz2)
+md5sums=('a0841f0073322414858c22e247344502')
build() {
- cd $srcdir/$pkgname
- patch -Np1 -i $srcdir/mednafen-0.8.13.3-zlib-1.2.6.patch
+ cd $pkgname
+
./configure --prefix=/usr
+
make
}
package() {
- cd $srcdir/$pkgname
- make DESTDIR=$pkgdir install
+ 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
}