summaryrefslogtreecommitdiff
path: root/pcr/mednafen-wip/PKGBUILD
blob: 7e9a5323bb943b351d48316fc746cb7cb284fea1 (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
37
38
39
40
41
42
43
44
45
46
47
# Maintainer: Hans-Kristian Arntzen <maister@archlinux.us>
# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
# Contributor: kagan <juanynie@mi.madritel.es>
# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>

pkgbase=mednafen
pkgname=mednafen-wip
pkgver=0.9.27
_pkgver=441
pkgrel=1
pkgdesc='A command-line multi-system gaming emulator, WIP version'
url="http://$pkgbase.sourceforge.net/"
license=GPL
arch=(
  i686
  x86_64
  mips64el
)
depends=(
  jack
  'libcdio>=0.83'
  sdl-libre
)
optdepends=(
  'libgl: needed for opengl support'
  'glu: needed for opengl support'
)
makedepends=(
  mesa
  glu
)
provides=$pkgbase
conflicts=$pkgbase
source='http://forum.fobby.net/index.php?t=getfile&id='$_pkgver'&'
sha1sums=5be7597bb8fc9c47ae434d4a0aab16e13230b916

build() {
   cd $srcdir/$pkgbase
   setarch $CARCH ./configure --prefix=/usr
   setarch $CARCH make
}

package() {
   cd $srcdir/$pkgbase
   setarch $CARCH make DESTDIR=$pkgdir install
}