summaryrefslogtreecommitdiff
path: root/community/mednafen
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/mednafen
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/mednafen')
-rw-r--r--community/mednafen/PKGBUILD36
-rw-r--r--community/mednafen/mednafen.install5
2 files changed, 41 insertions, 0 deletions
diff --git a/community/mednafen/PKGBUILD b/community/mednafen/PKGBUILD
new file mode 100644
index 000000000..660dafc40
--- /dev/null
+++ b/community/mednafen/PKGBUILD
@@ -0,0 +1,36 @@
+# $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.9.28
+_pkgver=0.9.28-wip
+pkgrel=1
+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=('2b9f0be9f77a6e1b5d26093e30b24e77')
+
+build() {
+ cd "$srcdir"/$pkgname
+
+ ./configure --prefix=/usr
+
+ make
+}
+
+package() {
+ 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/'
+}