From 59aee5f62813dd69aa7a9896bf380d8828eaa855 Mon Sep 17 00:00:00 2001 From: James Meyer Date: Mon, 26 Nov 2012 09:36:18 -0600 Subject: fceux: updated from ABS no version change --- abs/extra/fceux/ChangeLog | 21 ----------------- abs/extra/fceux/PKGBUILD | 52 ++++++++++++++++++++++++++----------------- abs/extra/fceux/fceux.desktop | 5 ++--- abs/extra/fceux/fceux.install | 13 +++++++++++ 4 files changed, 46 insertions(+), 45 deletions(-) delete mode 100644 abs/extra/fceux/ChangeLog create mode 100644 abs/extra/fceux/fceux.install diff --git a/abs/extra/fceux/ChangeLog b/abs/extra/fceux/ChangeLog deleted file mode 100644 index 93ba8b3..0000000 --- a/abs/extra/fceux/ChangeLog +++ /dev/null @@ -1,21 +0,0 @@ -2009-11-06 Eric Belanger - - * fceux 2.1.2-1 - * Upstream update - -2009-08-05 Eric Belanger - - * fceux 2.1.1-1 - * gfceux 2.1.1-1 - * Upstream update - * Implemented split packages - -2009-04-06 Eric Belanger - - * fceux 2.1.0a-1 - * Upstream update - -2009-03-06 Eric Belanger - - * fceux 2.0.3-1 - * Added to [community] repo to replace fceu diff --git a/abs/extra/fceux/PKGBUILD b/abs/extra/fceux/PKGBUILD index 4e9ccae..3d18d67 100644 --- a/abs/extra/fceux/PKGBUILD +++ b/abs/extra/fceux/PKGBUILD @@ -1,35 +1,45 @@ -# $Id: PKGBUILD 49458 2011-06-16 19:25:29Z angvp $ -# Maintainer: Eric Belanger -# Contributor: Jo Christian Bergskås - +# $Id: PKGBUILD 57567 2011-10-30 20:09:10Z arodseth $ +# Maintainer: Alexander Rødseth +# Contributor: Eric Belanger +# Contributor: Jo Christian BergskÃ¥s 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" +pkgrel=3 +arch=('x86_64' 'i686') +url="http://fceux.com/" +pkgdesc="Fast and ultra-compatible NES/Famicom emulator" license=('GPL') -depends=('sdl' 'lua' 'gtk2') -makedepends=('scons' 'mesa') -optdepends=('xchm: for viewing the help manual') +depends=('sdl' 'gtk2' 'gd' 'desktop-file-utils') +makedepends=('scons' 'mesa' 'lua') +optdepends=('xchm: for viewing the manual') provides=('fceu' 'gfceux') replaces=('fceu' 'gfceux') -source=(http://downloads.sourceforge.net/fceultra/$pkgname-${pkgver}.src.tar.bz2 \ - fceux.desktop fceux.png) +install=fceux.install +source=("http://downloads.sourceforge.net/fceultra/$pkgname-$pkgver.src.tar.bz2" + "fceux.desktop" + "fceux.png") build() { - cd "${srcdir}/fceu$pkgver" - scons + cd "$srcdir/fceu${pkgver}" + + sed -i "s|/usr/local|$pkgdir/usr|" SConstruct + scons OPENGL=0 install +} - sed -i "s|/usr/local|${pkgdir}/usr|" SConstruct - scons install +package() { + cd "$srcdir/fceu${pkgver}" - 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 + 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: md5sums=('e8b20e62bbbb061b1a59d51b47c827bd' - '30baf915c936926fa50f59d8276f6575' + '3c6a259d88825ff1b9387d191a6c970e' '3fe753731ac46b5fee528b1f73abd3e3') diff --git a/abs/extra/fceux/fceux.desktop b/abs/extra/fceux/fceux.desktop index c166755..c20271a 100644 --- a/abs/extra/fceux/fceux.desktop +++ b/abs/extra/fceux/fceux.desktop @@ -2,9 +2,8 @@ Name=Fceux GenericName=NES/Famicom emulator Exec=fceux -Icon=/usr/share/pixmaps/fceux.png +Icon=fceux Type=Application Categories=Game;Emulator; Encoding=UTF-8 - - +MimeType=application/x-nes;application/x-nes-rom diff --git a/abs/extra/fceux/fceux.install b/abs/extra/fceux/fceux.install new file mode 100644 index 0000000..ad97d7b --- /dev/null +++ b/abs/extra/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: -- cgit v0.12