summaryrefslogtreecommitdiff
path: root/~emulatorman/mednafen-wip/PKGBUILD
blob: 93893684e4901564f77b1cf4bc9a43c0921ea8e4 (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
# Maintainer: Hans-Kristian Arntzen <maister@archlinux.us>
# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
# Contributor: kagan <juanynie@mi.madritel.es>
# Contributor (Parabola): André Silva <andre.paulista@adinet.com.uy>

pkgname=mednafen-wip
pkgver=0.9.19
pkgrel=1
pkgdesc="A command-line multi-system gaming emulator, WIP version"
url="http://mednafen.sourceforge.net/"
license=(GPL)
arch=('i686' 'x86_64')
depends=('libcdio>=0.82' 'libsamplerate' 'libogg' 'libvorbis' 'sdl' 'sdl_net' 'libsndfile' 'zlib')
makedepends=('pkgconfig' 'mesa')
conflicts=('mednafen')
provides=('mednafen')
source=('http://forum.fobby.net/index.php?t=getfile&id=345&' 'build.patch')
md5sums=('64be12196aa02828539af677b0e2a66c'
         'aac8957fa5274f00feed6a462fa8b7ad')

build() 
{
   cd $srcdir/mednafen
   patch -p1 < $srcdir/build.patch
   ./configure --prefix=/usr
   make
}

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