summaryrefslogtreecommitdiff
path: root/community/mupen64plus/PKGBUILD
blob: 1769804180d7fc6f6541407535ac937b3c4d3f9e (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
# $Id: PKGBUILD 50291 2011-06-27 20:35:36Z jelle $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Thomas Dziedzic < gostrc at gmail >
# Contributor: Laurent Carlier <lordheavym@gmail.com>
# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: Zephyr

pkgname=mupen64plus
pkgver=1.99.4
pkgrel=2
pkgdesc='Nintendo64 Emulator'
arch=('i686' 'x86_64')
url='http://code.google.com/p/mupen64plus/'
license=('GPL')
depends=('mesa' 'libsamplerate' 'libpng' 'sdl' 'freetype2')
source=("http://mupen64plus.googlecode.com/files/mupen64plus-bundle-src-${pkgver}.tar.gz")
md5sums=('81c4f11c341d7ea4dbd81cf2f0467dc2')

build() {
  cd mupen64plus-bundle-src-${pkgver}

  sh m64p_build.sh
}

package() {
  cd mupen64plus-bundle-src-$pkgver
  
  # set LDCONFIG since we are using fakeroot and scripts run root commands by checking the uid
  ./m64p_install.sh DESTDIR="$pkgdir" PREFIX='/usr' MANDIR='/usr/share/man/man6' LDCONFIG='true'
}

# vim: ts=2:sw=2:et