summaryrefslogtreecommitdiffstats
path: root/abs/extra/mednafen/PKGBUILD
blob: 802249f2104b435bfdc905c5d40e548149d8a498 (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
# Maintainer: Angel Velasquez <angvp@archlinux.org> 
# Contributor: Daenyth <Daenyth+Arch [at] gmail [dot] com>
# Contributor: kagan <juanynie@mi.madritel.es>

pkgname=mednafen
pkgver=0.8.D.3
pkgrel=2
pkgdesc="A command-line multi-system gaming emulator"
url="http://mednafen.sourceforge.net/"
license=('GPL')
arch=('i686' 'x86_64')
depends=('libcdio' 'libsamplerate' 'libogg' 'libvorbis' 'sdl' 'sdl_net' 'libsndfile' 'zlib')
makedepends=('pkgconfig' 'mesa')
changelog=ChangeLog
source=(http://downloads.sourceforge.net/mednafen/$pkgname-$pkgver.tar.bz2
        mednafen-0.8.13.3-zlib-1.2.6.patch)
md5sums=('57d22805071becd81858b0c088a275e5'
         '450bb5aa7552db5b8f6d6713bdb725ce')

build() {
  cd $srcdir/$pkgname
  patch -Np1 -i $srcdir/mednafen-0.8.13.3-zlib-1.2.6.patch
  ./configure --prefix=/usr
  make
}

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