summaryrefslogtreecommitdiffstats
path: root/abs/extra/fceux/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2011-11-06 22:09:00 (GMT)
committerJames Meyer <james.meyer@operamail.com>2011-11-06 22:09:00 (GMT)
commit4408210bf04aedaccfc8b33ed73179e3b48b49c8 (patch)
treea6658a44fbee722573e70f1a8de5fee85b226ac2 /abs/extra/fceux/PKGBUILD
parent7b658e2f4f9fa8c3cffa92a2359d904c30709598 (diff)
parentbf465fd2363f11305fa47dda2a37ab32566d5cd5 (diff)
downloadlinhes_pkgbuild-4408210bf04aedaccfc8b33ed73179e3b48b49c8.zip
linhes_pkgbuild-4408210bf04aedaccfc8b33ed73179e3b48b49c8.tar.gz
linhes_pkgbuild-4408210bf04aedaccfc8b33ed73179e3b48b49c8.tar.bz2
Merge branch 'testing' of ssh://jams@linhes.org/mount/repository/linhes_pkgbuild into testing
Diffstat (limited to 'abs/extra/fceux/PKGBUILD')
-rw-r--r--abs/extra/fceux/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/abs/extra/fceux/PKGBUILD b/abs/extra/fceux/PKGBUILD
new file mode 100644
index 0000000..4e9ccae
--- /dev/null
+++ b/abs/extra/fceux/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 49458 2011-06-16 19:25:29Z angvp $
+# Maintainer: Eric Belanger <eric@archlinux.org>
+# Contributor: Jo Christian Bergskås <jcberg@gmail.com>
+
+pkgname=fceux
+pkgver=2.1.5
+pkgrel=1
+arch=('i686' 'x86_64')
+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)
+
+build() {
+ 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:
+md5sums=('e8b20e62bbbb061b1a59d51b47c827bd'
+ '30baf915c936926fa50f59d8276f6575'
+ '3fe753731ac46b5fee528b1f73abd3e3')