1 # Maintainer: Darren Alton <dalton at stevens point edu>
2 pkgname=snes9x-libsnes-git
5 pkgdesc="An implementation of libsnes using the SNES9x core."
6 url="https://github.com/Themaister/snes9x-libsnes/"
10 makedepends=('intltool' 'nasm' 'git')
11 optdepends=('ssnes-git: simple frontend for libsnes')
15 _gitroot="git://github.com/Themaister/snes9x-libsnes.git"
16 _gitname="snes9x-libsnes"
21 msg "Connecting to the GIT server...."
23 if [[ -d "$srcdir/$_gitname" ]] ; then
26 msg "The local files are updated."
31 cd "${srcdir}/${_gitname}/unix"
33 ./configure || return 1
35 mkdir -p "${pkgdir}/usr/lib"
36 install -m 755 libsnes.so "${pkgdir}/usr/lib/libsnes-snes9x.so" || return 1