summaryrefslogtreecommitdiff
path: root/community/fceux
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-01-12 13:04:54 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2013-01-12 13:04:54 +0100
commit24633b6f6af8dc77ca77224448d226d8e99c9ce1 (patch)
tree0e862445be6a105957104f94f7e4f2668e1fdbba /community/fceux
parentd28ed89b1e41f7e71045a5c2e898aa3b369eda47 (diff)
parent8c2563c3c13cb7a279544f6926cbdd2eb902cc9a (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/cdemu-daemon/PKGBUILD community/chmsee/PKGBUILD community/fceux/PKGBUILD community/ginac/PKGBUILD community/gstreamermm/PKGBUILD community/gtksourceviewmm/PKGBUILD community/lgi/PKGBUILD community/libmirage/PKGBUILD core/gawk/PKGBUILD core/gettext/PKGBUILD extra/enca/PKGBUILD extra/gnutls/PKGBUILD extra/hdf5/PKGBUILD extra/kdebase/PKGBUILD extra/libass/PKGBUILD extra/libdiscid/PKGBUILD extra/libxcomposite/PKGBUILD extra/libxdamage/PKGBUILD extra/maxima/PKGBUILD extra/nx/PKGBUILD extra/opencv/PKGBUILD extra/pidgin/PKGBUILD extra/redland/PKGBUILD extra/sharutils/PKGBUILD extra/soundtouch/PKGBUILD extra/sqlite/PKGBUILD extra/twisted/PKGBUILD libre/dpkg/PKGBUILD
Diffstat (limited to 'community/fceux')
-rw-r--r--community/fceux/PKGBUILD69
1 files changed, 32 insertions, 37 deletions
diff --git a/community/fceux/PKGBUILD b/community/fceux/PKGBUILD
index e4bca3e1c..f074d1953 100644
--- a/community/fceux/PKGBUILD
+++ b/community/fceux/PKGBUILD
@@ -1,53 +1,48 @@
-# $Id: PKGBUILD 57567 2011-10-30 20:09:10Z arodseth $
+# $Id: PKGBUILD 82066 2013-01-07 08:30:37Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
-# Contributor: Eric Belanger <eric@archlinux.org>
+# Contriutor: Eric Belanger <eric@archlinux.org>
# Contributor: Jo Christian Bergskås <jcberg@gmail.com>
+
pkgname=fceux
-pkgver=2.1.5
-pkgrel=3
+pkgver=2.2.0
+pkgrel=1
+url='http://www.fceux.com/'
+pkgdesc='Fast and ultra-compatible NES/Famicom emulator'
arch=('x86_64' 'i686' 'mips64el')
-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')
+depends=('sdl' 'gtk2' 'gd' 'desktop-file-utils' 'lua51' 'libgl')
+makedepends=('scons' 'mesa' 'glu')
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-2.1.5-gcc46.patch"
- "fceux-2.1.5-gcc47.patch"
- "fceux-2.1.5-underlink.patch"
- "fceux.desktop"
- "fceux.png")
-md5sums=('e8b20e62bbbb061b1a59d51b47c827bd'
- '21cb004988b6593e10815d0b485b0d3c'
- 'd03b6301924b195601a38fbd57d908eb'
- 'd79d2b531bd2d9feeb08e297e89ed393'
- '3c6a259d88825ff1b9387d191a6c970e'
- '3fe753731ac46b5fee528b1f73abd3e3')
+install=$pkgname.install
+source=("https://sourceforge.net/projects/fceultra/files/Source%20Code/$pkgver%20src/$pkgname-$pkgver.src.tar.gz")
+sha256sums=('31ad7b478d5c0911a67a4eaeae9de915d44fc95844148a135114e27d7fd1a694')
build() {
- cd "$srcdir/fceu${pkgver}"
- patch -Np1 -i ${srcdir}/fceux-2.1.5-gcc46.patch
- patch -Np1 -i ${srcdir}/fceux-2.1.5-gcc47.patch
- patch -Np1 -i ${srcdir}/fceux-2.1.5-underlink.patch
- sed -i "s|/usr/local|$pkgdir/usr|" SConstruct
- scons OPENGL=0 install
+ cd "$srcdir/$pkgname"
+
+ msg2 'Compiling...'
+ scons --prefix="$pkgdir/usr"
}
package() {
- cd "$srcdir/fceu${pkgver}"
+ cd "$srcdir/$pkgname"
- install -Dm644 bin/$pkgname.chm \
+ msg2 'Packaging binaries, data and man-pages...'
+ scons install --prefix="$pkgdir/usr"
+
+ msg2 'Packaging documentation...'
+ install -Dm644 "src/drivers/win/help/$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"
+ 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...'
+ install -Dm644 "$pkgname.desktop" \
+ "$pkgdir/usr/share/applications/$pkgname.desktop"
+ install -Dm644 "$pkgname.png" \
+ "$pkgdir/usr/share/pixmaps/$pkgname.png"
}
# vim:set ts=2 sw=2 et: