Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

Created May 2, 2013 04:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/5500097 to your computer and use it in GitHub Desktop.
Save anonymous/5500097 to your computer and use it in GitHub Desktop.
# Maintainer: bzt <unmacaque at gmail.com>
# Contributor: Boohbah <boohbah at gmail.com>
pkgname=snes9x-git
_gitname=snes9x
pkgver=1.53.194.g532a76d
pkgrel=1
pkgdesc="A GTK+ port of the Snes9x emulator (git version)"
arch=('i686' 'x86_64')
url="http://code.google.com/p/snes9x-gtk/"
license=('LGPL')
depends=('zlib' 'libpng' 'sdl' 'alsa-lib' 'libglade' 'libxv' 'gcc-libs'
'libxext' 'libsm' 'libgl' 'gtk3')
makedepends=('intltool' 'nasm' 'mesa' 'git' 'autogen')
provides=('snes9x' 'snes9x-gtk')
conflicts=('snes9x' 'snes9x-gtk')
install=snes9x-git.install
source=('git://github.com/snes9xgit/snes9x.git')
md5sums=('SKIP')
pkgver() {
cd $_gitname
git describe --always | sed 's/-/./g'
}
build() {
cd $_gitname/gtk
./autogen.sh
./configure --prefix=/usr --with-netplay --with-gtk3
make
}
package() {
cd $_gitname/gtk
make DESTDIR=${pkgdir} install
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment