summaryrefslogtreecommitdiffstats
path: root/abs/extra/mednafen/PKGBUILD
blob: 11948c9f5deab6a91b3875dcbef74fb8390c6944 (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
# $Id$
# Maintainer: Jonathan Steel <jsteel at archlinux.org>
# Contributor: megadriver <megadriver at gmx dot com>
# Contributor: Angel Velasquez <angvp@archlinux.org>
# Contributor: Daenyth <Daenyth+Arch [at] gmail [dot] com>
# Contributor: kagan <juanynie@mi.madritel.es>
# Contributor: Hans-Kristian Arntzen <maister@archlinux.us>

pkgname=mednafen
pkgver=0.9.36.5
pkgrel=2
pkgdesc="Command-line multi-system gaming emulator"
url="http://mednafen.sourceforge.net"
license=('GPL2')
arch=('i686' 'x86_64')
depends=('libcdio' 'libsndfile' 'sdl' 'zlib')
makedepends=('mesa' 'glu')
source=(http://downloads.sourceforge.net/mednafen/$pkgname-$pkgver.tar.bz2)
md5sums=('a0841f0073322414858c22e247344502')

build() {
  cd $pkgname

  ./configure --prefix=/usr

  make
}

package() {
  cd $pkgname

  make DESTDIR="$pkgdir" install

  for i in ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL NEWS \
           README{,.DOS,.PORTING} TODO; do
    install -Dm644 $i "$pkgdir"/usr/share/doc/$pkgname/$i
  done
}