summaryrefslogtreecommitdiff
path: root/pcr/mednafen-wip/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/mednafen-wip/PKGBUILD')
-rwxr-xr-xpcr/mednafen-wip/PKGBUILD59
1 files changed, 42 insertions, 17 deletions
diff --git a/pcr/mednafen-wip/PKGBUILD b/pcr/mednafen-wip/PKGBUILD
index cc33eeb75..2abee7f46 100755
--- a/pcr/mednafen-wip/PKGBUILD
+++ b/pcr/mednafen-wip/PKGBUILD
@@ -4,29 +4,54 @@
# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
+pkgbase=mednafen
pkgname=mednafen-wip
-pkgver=0.9.24
+pkgver=0.9.26
+_pkgver=422
pkgrel=1
-pkgdesc="A command-line multi-system gaming emulator, WIP version"
-url="http://mednafen.sourceforge.net/"
-license=(GPL)
-arch=('i686' 'x86_64')
-depends=('libcdio>=0.82' 'libsamplerate' 'libogg' 'libvorbis' 'sdl' 'libsndfile' 'zlib')
-makedepends=('pkgconfig' 'mesa')
-conflicts=('mednafen')
-provides=('mednafen')
-source=('http://forum.fobby.net/index.php?t=getfile&id=380&')
-sha1sums=('bc0d867a3fa255f01d04ee6f028acab18849f16d')
+pkgdesc='A command-line multi-system gaming emulator, WIP version'
+url="http://$pkgbase.sourceforge.net/"
+license=(
+ GPL
+)
+arch=(
+ i686
+ x86_64
+ mips64el
+)
+depends=(
+ jack2
+ 'libcdio>=0.83'
+ sdl-libre
+)
+optdepends=(
+ 'libgl: needed for opengl support'
+ 'glu: needed for opengl support'
+)
+makedepends=(
+ mesa
+ glu
+)
+provides=(
+ $pkgbase
+)
+conflicts=(
+ $pkgbase
+)
+source=(
+ 'http://forum.fobby.net/index.php?t=getfile&id='$_pkgver'&'
+)
+sha1sums=(
+ e43c2b04b513af1db35933a2819d2660e7106600
+)
-build()
-{
- cd $srcdir/mednafen
+build() {
+ cd $srcdir/$pkgbase
./configure --prefix=/usr
make
}
-package()
-{
- cd $srcdir/mednafen
+package() {
+ cd $srcdir/$pkgbase
make DESTDIR=$pkgdir install
}