summaryrefslogtreecommitdiff
path: root/community/mednafen/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/mednafen/PKGBUILD')
-rw-r--r--community/mednafen/PKGBUILD36
1 files changed, 36 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
+}