updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / mupen64plus-ui-console-hg / PKGBUILD
blobb24388e4bc4aa70a6e792952cd5531fdb50b7ed5
1 # Contributer: BeholdMyGlory <larvid@gmail.com>
3 pkgname='mupen64plus-ui-console-hg'
4 pkgver=56
5 pkgrel=2
6 pkgdesc="CLI fontent for Mupen64Plus v2.0, a Nintendo 64 emulator. Latest hg pull."
7 url="http://bitbucket.org/richard42/mupen64plus-ui-console/"
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-ui-console'
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 MANDIR=/usr/share/man/man6/ DESTDIR=${pkgdir} install || return 1