summaryrefslogtreecommitdiff
path: root/pcr/mednafen-wip/PKGBUILD
blob: c3e5d61377de24a2576bdb2f7752f0b59f6eed7e (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
48
49
50
51
52
53
54
55
56
57
# 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.26
_pkgver=422
pkgrel=2
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=(
  e43c2b04b513af1db35933a2819d2660e7106600
)

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

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