updated on Fri Jan 20 00:01:56 UTC 2012
[aur-mirror.git] / mupen64plus-rsp-z64-hg / PKGBUILD
bloba186beba120c896b01c0279cfa97a650a4d999ce
1 # Contributer: BeholdMyGlory <larvid@gmail.com>
3 pkgname=mupen64plus-rsp-z64-hg
4 pkgver=2
5 pkgrel=1
6 pkgdesc="Low-level RSP processor plugin for Mupen64Plus v2.0, a Nintendo 64 emulator. Latest hg pull."
7 url="http://bitbucket.org/wahrhaft/mupen64plus-rsp-z64/"
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/wahrhaft'
15 _hgrepo='mupen64plus-rsp-z64'
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