updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / mupen64plus-rsp-hle-hg / PKGBUILD
blob9ad49cd590ad30c34a528d151b56d843cb8737d6
1 # Contributer: BeholdMyGlory <larvid@gmail.com>
3 pkgname='mupen64plus-rsp-hle-hg'
4 pkgver=25
5 pkgrel=1
6 pkgdesc="RSP processor plugin for Mupen64Plus v2.0, a Nintendo 64 emulator. Latest hg pull."
7 url="http://bitbucket.org/richard42/mupen64plus-rsp-hle/"
8 license='GPL'
9 arch=('i686' 'x86_64')
10 groups=('mupen64plus-hg')
11 depends=('mupen64plus-core-hg')
12 makedepends=('mercurial')
14 _hgroot='http://bitbucket.org/richard42'
15 _hgrepo='mupen64plus-rsp-hle'
17 build() {
19   cd "${srcdir}"
21   if [ -d $_hgrepo ]; then
22     cd $_hgrepo && hg pull -u
23   else
24     hg clone "${_hgroot}/${_hgrepo}"
25     cd $_hgrepo
26   fi
28   make -C projects/unix all || return 1
29   make -C projects/unix PREFIX=/usr DESTDIR=${pkgdir} install || return 1