updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / libsnes-super-git / PKGBUILD
blob2fb5c51a3b25a1f22dc5e42482a751b90e6a80ba
1 # Contributor: Themaister <maister@archlinux.us>
2 pkgname=libsnes-super-git
3 pkgver=20111102
4 pkgrel=1
5 pkgdesc="A collection of libsnes implementations for SSNES."
6 arch=('i686' 'x86_64')
7 url="https://github.com/Themaister/libsnes-super"
8 license=('various')
10 _gitroot="git://github.com/Themaister/libsnes-super.git"
11 _gitname="libsnes-super"
13 build() 
15    cd "$srcdir"
16    if [ -d "$_gitname" ]; then
17       cd "$_gitname"
18       git pull "$_gitroot"
19    else
20       git clone "$_gitroot" "$_gitname"
21       cd "$_gitname"
22    fi
23    
24    ./libsnes-fetch.sh
25    ./libsnes-build.sh
28 package()
30    cd "$srcdir/$_gitname"
31    ./libsnes-install.sh "$pkgdir/usr/lib/libsnes"