summaryrefslogtreecommitdiff
path: root/community/fceux
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-01-26 23:14:55 +0000
committerroot <root@rshg054.dnsready.net>2012-01-26 23:14:55 +0000
commit3741146d50cb93e8985f8aac937e36d35ee76446 (patch)
tree98628c2ca15482ec0c66a81db48b4ddd777e1136 /community/fceux
parenta61c6fb05ec1cbc6845b2ed4077ce0c5950c36ed (diff)
Thu Jan 26 23:14:55 UTC 2012
Diffstat (limited to 'community/fceux')
-rw-r--r--community/fceux/PKGBUILD45
-rw-r--r--community/fceux/fceux.desktop9
-rw-r--r--community/fceux/fceux.install13
-rw-r--r--community/fceux/fceux.pngbin0 -> 583 bytes
4 files changed, 67 insertions, 0 deletions
diff --git a/community/fceux/PKGBUILD b/community/fceux/PKGBUILD
new file mode 100644
index 000000000..fcfe064ee
--- /dev/null
+++ b/community/fceux/PKGBUILD
@@ -0,0 +1,45 @@
+# $Id: PKGBUILD 57567 2011-10-30 20:09:10Z arodseth $
+# Maintainer: Alexander Rødseth <rodseth@gmail.com>
+# Contributor: Eric Belanger <eric@archlinux.org>
+# Contributor: Jo Christian Bergskås <jcberg@gmail.com>
+pkgname=fceux
+pkgver=2.1.5
+pkgrel=3
+arch=('x86_64' 'i686')
+url="http://fceux.com/"
+pkgdesc="Fast and ultra-compatible NES/Famicom emulator"
+license=('GPL')
+depends=('sdl' 'gtk2' 'gd' 'desktop-file-utils')
+makedepends=('scons' 'mesa' 'lua')
+optdepends=('xchm: for viewing the manual')
+provides=('fceu' 'gfceux')
+replaces=('fceu' 'gfceux')
+install=fceux.install
+source=("http://downloads.sourceforge.net/fceultra/$pkgname-$pkgver.src.tar.bz2"
+ "fceux.desktop"
+ "fceux.png")
+md5sums=('e8b20e62bbbb061b1a59d51b47c827bd'
+ '3c6a259d88825ff1b9387d191a6c970e'
+ '3fe753731ac46b5fee528b1f73abd3e3')
+
+build() {
+ cd "$srcdir/fceu${pkgver}"
+
+ sed -i "s|/usr/local|$pkgdir/usr|" SConstruct
+ scons OPENGL=0 install
+}
+
+package() {
+ cd "$srcdir/fceu${pkgver}"
+
+ install -Dm644 bin/$pkgname.chm \
+ "$pkgdir/usr/share/doc/$pkgname/$pkgname.chm"
+ install -Dm644 $srcdir/fceux.desktop \
+ "$pkgdir/usr/share/applications/fceux.desktop"
+ install -Dm644 $srcdir/fceux.png \
+ "$pkgdir/usr/share/pixmaps/fceux.png"
+ install -Dm644 COPYING \
+ "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/community/fceux/fceux.desktop b/community/fceux/fceux.desktop
new file mode 100644
index 000000000..c20271a77
--- /dev/null
+++ b/community/fceux/fceux.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Fceux
+GenericName=NES/Famicom emulator
+Exec=fceux
+Icon=fceux
+Type=Application
+Categories=Game;Emulator;
+Encoding=UTF-8
+MimeType=application/x-nes;application/x-nes-rom
diff --git a/community/fceux/fceux.install b/community/fceux/fceux.install
new file mode 100644
index 000000000..ad97d7bab
--- /dev/null
+++ b/community/fceux/fceux.install
@@ -0,0 +1,13 @@
+post_upgrade() {
+ update-desktop-database -q
+}
+
+post_install() {
+ post_upgrade
+}
+
+post_remove() {
+ post_upgrade
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/community/fceux/fceux.png b/community/fceux/fceux.png
new file mode 100644
index 000000000..1cf27b1fd
--- /dev/null
+++ b/community/fceux/fceux.png
Binary files differ