summaryrefslogtreecommitdiff
path: root/community/fceux/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/fceux/PKGBUILD')
-rw-r--r--community/fceux/PKGBUILD34
1 files changed, 15 insertions, 19 deletions
diff --git a/community/fceux/PKGBUILD b/community/fceux/PKGBUILD
index 842c10c81..b9f2718f1 100644
--- a/community/fceux/PKGBUILD
+++ b/community/fceux/PKGBUILD
@@ -1,44 +1,40 @@
-# $Id: PKGBUILD 93772 2013-07-10 07:27:12Z bpiotrowski $
+# $Id: PKGBUILD 97759 2013-09-28 13:37:37Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contriutor: Eric Belanger <eric@archlinux.org>
# Contributor: Jo Christian Bergskås <jcberg@gmail.com>
pkgname=fceux
-pkgver=2.2.1.1
-pkgrel=2
+pkgver=2.2.2
+pkgrel=1
url='http://www.fceux.com/'
pkgdesc='Fast and ultra-compatible NES/Famicom emulator'
arch=('x86_64' 'i686' 'mips64el')
license=('GPL')
-depends=('sdl' 'gtk2' 'gd' 'desktop-file-utils' 'lua51' 'libgl')
+depends=('sdl' 'gtk2' 'gd' 'desktop-file-utils' 'lua51' 'libgl' 'shared-mime-info')
makedepends=('scons' 'mesa-libgl' 'glu')
-optdepends=('xchm: for viewing the manual')
-install="$pkgname.install"
-source=("https://downloads.sourceforge.net/project/fceultra/Source%20Code/2.2.1%20src/$pkgname-$pkgver.src.tar.gz")
-sha256sums=('afb0b3b8e1d2eea40c59777ef538b69b16164ae53c406106e541099534db828c')
+install='fceux.install'
+source=("https://downloads.sourceforge.net/project/fceultra/Source%20Code/$pkgver%20src/$pkgname-$pkgver.src.tar.gz")
+sha256sums=('804d11bdb4a195f3a580ce5d2d01be877582763378637e16186a22459f5fe5e1')
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$pkgname-$pkgver"
- msg2 'Compiling...'
scons
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$pkgname-$pkgver"
- msg2 'Packaging binaries, data and man-pages...'
- scons install --prefix="$pkgdir/usr"
+ scons install -i --prefix="$pkgdir/usr"
- msg2 'Packaging documentation...'
- install -Dm644 "src/drivers/win/help/$pkgname.chm" \
- "$pkgdir/usr/share/doc/$pkgname/$pkgname.chm"
+ # scons install creates usr/share/pixmaps as a regular file, wtf?
+ rm -f "$pkgdir/usr/share/pixmaps"
+
+ install -d "$pkgdir/usr/share/doc/$pkgname"
cp -r documentation/* "$pkgdir/usr/share/doc/$pkgname/"
- # Removing manpages that are already placed in the right location
- rm -f "$pkgdir/usr/share/doc/$pkgname/*.6"
install -Dm644 changelog.txt "$pkgdir/usr/share/doc/$pkgname/"
- msg2 'Packaging desktop shortcut and icon...'
+ # desktop shortcut
install -Dm644 "$pkgname.desktop" \
"$pkgdir/usr/share/applications/$pkgname.desktop"
install -Dm644 "$pkgname.png" \