updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / mupen64plus-audio-sdl-hg / PKGBUILD
blobbfaefb40c4dd9a274f4a1f505bed7ff84d9e7173
1 # Contributer: BeholdMyGlory <larvid@gmail.com>
3 pkgname='mupen64plus-audio-sdl-hg'
4 pkgver=28
5 pkgrel=1
6 pkgdesc="Audio plugin for Mupen64Plus v2.0, a Nintendo 64 emulator, using SDL. Latest hg pull."
7 url="http://bitbucket.org/richard42/mupen64plus-audio-sdl/"
8 license='GPL'
9 arch=('i686' 'x86_64')
10 groups=('mupen64plus-hg')
11 depends=('mupen64plus-core-hg' 'libsamplerate')
12 makedepends=('mercurial')
14 _hgroot='http://bitbucket.org/richard42'
15 _hgrepo='mupen64plus-audio-sdl'
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