summaryrefslogtreecommitdiff
path: root/pcr/mednafen-wip/PKGBUILD
blob: 167a806e27b4f95b4abc72176f532e8d0d45c83a (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
# 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
pkgflag=wip
pkgver=0.9.28
_pkgver=450
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=$pkgbase-$pkgver-$pkgflag.tar.bz2::'http://forum.fobby.net/index.php?t=getfile&id='$_pkgver'&'
sha1sums=6948b0f06d72f8056690d229581e94408d40c918

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

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