summaryrefslogtreecommitdiffstats
path: root/abs/extra/fceu/PKGBUILD
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-12-02 03:48:23 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-12-02 03:48:23 (GMT)
commit5ef6c56b85ae9603212a65a2bf3c5153de7cdc94 (patch)
treeb6ead2f86de10ad0ec8cf14ee33ad889094bafe2 /abs/extra/fceu/PKGBUILD
parenta7011e8b84283158a756e33ff36db5e9d3eb6f3a (diff)
downloadlinhes_pkgbuild-5ef6c56b85ae9603212a65a2bf3c5153de7cdc94.zip
linhes_pkgbuild-5ef6c56b85ae9603212a65a2bf3c5153de7cdc94.tar.gz
linhes_pkgbuild-5ef6c56b85ae9603212a65a2bf3c5153de7cdc94.tar.bz2
fceu: upgrade
Diffstat (limited to 'abs/extra/fceu/PKGBUILD')
-rw-r--r--[-rwxr-xr-x]abs/extra/fceu/PKGBUILD47
1 files changed, 29 insertions, 18 deletions
diff --git a/abs/extra/fceu/PKGBUILD b/abs/extra/fceu/PKGBUILD
index cdae29a..532a8fd 100755..100644
--- a/abs/extra/fceu/PKGBUILD
+++ b/abs/extra/fceu/PKGBUILD
@@ -1,24 +1,35 @@
-# Maintainer: Eric Belanger <belanger@astro.umontreal.ca>
+# $Id: PKGBUILD 31918 2010-11-07 20:45:58Z lcarlier $
+# Maintainer: Eric Belanger <eric@archlinux.org>
# Contributor: Jo Christian Bergskås <jcberg@gmail.com>
-pkgname=fceu
-pkgver=0.98.15
-pkgrel=1
-pkgdesc="FCE Ultra is a fast and ultra-compatible NES/Famicom emulator with SDL, OpenGL and SVGALIB support."
+pkgname=fceux
+pkgver=2.1.4a
+pkgrel=4
arch=('i686' 'x86_64')
-url="http://fceultra.sourceforge.net"
-license="GPL"
-options=('docs')
-depends=('sdl' 'zlib')
-source=(ftp://ftp.knoppmyth.net/R6/sources/$pkgname-$pkgver-src.tar.bz2)
-md5sums=('bfe9aa7f91c19fa17bb6e5424dc5901b')
+url="http://fceux.com/web/home.html"
+pkgdesc="A fast and ultra-compatible NES/Famicom emulator with SDL, OpenGL and SVGALIB support"
+license=('GPL')
+depends=('sdl' 'lua' 'gtk2')
+makedepends=('scons' 'mesa')
+optdepends=('xchm: for viewing the help manual')
+provides=('fceu' 'gfceux')
+replaces=('fceu' 'gfceux')
+source=(http://downloads.sourceforge.net/fceultra/$pkgname-${pkgver}.src.tar.bz2 \
+ fceux.desktop fceux.png)
+md5sums=('a1252a888cdc8b2c42ae031211f2fad6'
+ '30baf915c936926fa50f59d8276f6575'
+ '3fe753731ac46b5fee528b1f73abd3e3')
build() {
- cd $startdir/src/fceu
- ./configure --prefix=/usr --with-opengl --build=i686-linux-gnu
- make || return 1
- make DESTDIR=$startdir/pkg install
- install -D -m644 $startdir/src/fceu/Documentation/fceu-sdl.6 $startdir/pkg/usr/man/man6/fceu.6
- install -d $startdir/pkg/usr/share/doc/fceu-doc
- cp -r $startdir/src/fceu/Documentation/* $startdir/pkg/usr/share/doc/fceu-doc
+ cd "${srcdir}/fceu$pkgver"
+ scons
+
+ sed -i "s|/usr/local|${pkgdir}/usr|" SConstruct
+ scons install
+
+ install -D -m644 bin/$pkgname.chm "${pkgdir}/usr/share/doc/$pkgname/$pkgname.chm"
+ install -D -m644 "$srcdir"/fceux.desktop "${pkgdir}"/usr/share/applications/fceux.desktop
+ install -D -m644 "$srcdir"/fceux.png "$pkgdir"/usr/share/pixmaps/fceux.png
}
+
+# vim:set ts=2 sw=2 et: