summaryrefslogtreecommitdiff
path: root/community/mednafen
diff options
context:
space:
mode:
Diffstat (limited to 'community/mednafen')
-rw-r--r--community/mednafen/PKGBUILD34
-rw-r--r--community/mednafen/mednafen.install5
2 files changed, 24 insertions, 15 deletions
diff --git a/community/mednafen/PKGBUILD b/community/mednafen/PKGBUILD
index 45e3fbb2e..660dafc40 100644
--- a/community/mednafen/PKGBUILD
+++ b/community/mednafen/PKGBUILD
@@ -1,32 +1,36 @@
-# $Id: PKGBUILD 82331 2013-01-15 11:35:02Z allan $
+# $Id: PKGBUILD 83342 2013-01-29 21:58:18Z jsteel $
# Maintainer: Jonathan Steel <mail at jsteel dot 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
-pkgrel=3
+pkgver=0.9.28
+_pkgver=0.9.28-wip
+pkgrel=1
pkgdesc="A command-line multi-system gaming emulator"
-url="http://mednafen.sourceforge.net/"
+url="http://mednafen.sourceforge.net"
license=('GPL')
arch=('i686' 'x86_64')
-depends=('libcdio' 'libsamplerate' 'libogg' 'libvorbis' 'sdl' 'sdl_net' 'libsndfile' 'zlib')
-makedepends=('pkgconfig' 'mesa' 'glu')
-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' 'libsamplerate' 'sdl_net' 'zlib')
+makedepends=('mesa' 'glu')
+replaces=('mednafen-wip')
+install="$pkgname.install"
+source=(http://downloads.sourceforge.net/mednafen/$pkgname-$_pkgver.tar.bz2)
+md5sums=('2b9f0be9f77a6e1b5d26093e30b24e77')
build() {
- cd $srcdir/$pkgname
- patch -Np1 -i $srcdir/mednafen-0.8.13.3-zlib-1.2.6.patch
+ cd "$srcdir"/$pkgname
+
./configure --prefix=/usr
+
make
}
package() {
- cd $srcdir/$pkgname
- make DESTDIR=$pkgdir install
+ cd "$srcdir"/$pkgname
+
+ make DESTDIR="$pkgdir"/ install
}
diff --git a/community/mednafen/mednafen.install b/community/mednafen/mednafen.install
new file mode 100644
index 000000000..8a0672362
--- /dev/null
+++ b/community/mednafen/mednafen.install
@@ -0,0 +1,5 @@
+post_upgrade() {
+ echo 'Save states from 0.8.x and earlier are not compatible with 0.9.x,
+ [...] The configuration file name has changed to "mednafen-09x.cfg"
+ [...] http://mednafen.sourceforge.net/releases/'
+}