summaryrefslogtreecommitdiff
path: root/community/mednafen/PKGBUILD
blob: 5a9120418b8af9aa7eee20fcc1ec111fc3aaa3f7 (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
# 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=1
pkgdesc="A command-line multi-system gaming emulator"
url="http://mednafen.sourceforge.net/"
license=(GPL)
arch=('i686' 'x86_64' 'mips64el')
depends=('libcdio>=0.82' 'libsamplerate' 'libogg' 'libvorbis' 'sdl' 'sdl_net' 'libsndfile' 'zlib')
makedepends=('pkgconfig' 'mesa')
changelog=ChangeLog
source=(http://downloads.sourceforge.net/mednafen/$pkgname-$pkgver.tar.bz2)
md5sums=('57d22805071becd81858b0c088a275e5')

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

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