summaryrefslogtreecommitdiff
path: root/community/mednafen/PKGBUILD
blob: 04b1abb131ec48264a0c9df26fe0316f320e6ccc (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 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' '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=('2b9f0be9f77a6e1b5d26093e30b24e77')

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

  ./configure --prefix=/usr

  make
}

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

  make DESTDIR="$pkgdir"/ install
}