summaryrefslogtreecommitdiff
path: root/community/mednafen/PKGBUILD
blob: b00f681b37702109e09d3b31e1f32aa0ded0bc2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# $Id: PKGBUILD 97157 2013-09-14 14:43:41Z jsteel $
# Maintainer: Jonathan Steel <jsteel@aur.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.9.32
_pkgver=$pkgver-wip
pkgrel=1
pkgdesc="A command-line multi-system gaming emulator"
url="http://mednafen.sourceforge.net"
license=('GPL')
arch=('i686' 'x86_64' 'mips64el')
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=('ffdf4f4bb4498df38e6aaaf316be40f5')

build() {
  cd "$srcdir"/$pkgname

  ./configure --prefix=/usr

  make
}

package() {
  cd "$srcdir"/$pkgname

  make DESTDIR="$pkgdir"/ install
}