updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / mupen64plus-video-glide64-hg / PKGBUILD
blob6942c9d0a81af1e85b449257a743f57f09849a6d
1 # Contributer: BeholdMyGlory <larvid@gmail.com>
3 pkgname=mupen64plus-video-glide64-hg
4 pkgver=1
5 pkgrel=1
6 pkgdesc="Port of the Glide64 video plugin to Mupen64Plus v2.0, a Nintendo 64 emulator. Latest hg pull."
7 url="http://bitbucket.org/wahrhaft/mupen64plus-video-glide64/"
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-video-glide64'
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