[arch-commits] Commit in fceux/repos (6 files)
Alexander Rødseth
arodseth at nymeria.archlinux.org
Wed Feb 27 11:42:43 UTC 2013
Date: Wednesday, February 27, 2013 @ 12:42:43
Author: arodseth
Revision: 85080
archrelease: copy trunk to community-staging-x86_64, community-staging-i686
Added:
fceux/repos/community-staging-i686/
fceux/repos/community-staging-i686/PKGBUILD
(from rev 85079, fceux/trunk/PKGBUILD)
fceux/repos/community-staging-i686/fceux.install
(from rev 85079, fceux/trunk/fceux.install)
fceux/repos/community-staging-x86_64/
fceux/repos/community-staging-x86_64/PKGBUILD
(from rev 85079, fceux/trunk/PKGBUILD)
fceux/repos/community-staging-x86_64/fceux.install
(from rev 85079, fceux/trunk/fceux.install)
----------------------------------------+
community-staging-i686/PKGBUILD | 48 +++++++++++++++++++++++++++++++
community-staging-i686/fceux.install | 13 ++++++++
community-staging-x86_64/PKGBUILD | 48 +++++++++++++++++++++++++++++++
community-staging-x86_64/fceux.install | 13 ++++++++
4 files changed, 122 insertions(+)
Copied: fceux/repos/community-staging-i686/PKGBUILD (from rev 85079, fceux/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2013-02-27 11:42:43 UTC (rev 85080)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contriutor: Eric Belanger <eric at archlinux.org>
+# Contributor: Jo Christian Bergskås <jcberg at gmail.com>
+
+pkgname=fceux
+pkgver=2.2.0
+pkgrel=3
+url='http://www.fceux.com/'
+pkgdesc='Fast and ultra-compatible NES/Famicom emulator'
+arch=('x86_64' 'i686')
+license=('GPL')
+depends=('sdl' 'gtk2' 'gd' 'desktop-file-utils' 'lua51' 'libgl')
+makedepends=('scons' 'mesa-libgl' 'glu')
+optdepends=('xchm: for viewing the manual')
+install=$pkgname.install
+source=("https://sourceforge.net/projects/fceultra/files/Source%20Code/$pkgver%20src/$pkgname-$pkgver.src.tar.gz")
+sha256sums=('31ad7b478d5c0911a67a4eaeae9de915d44fc95844148a135114e27d7fd1a694')
+
+build() {
+ cd "$srcdir/$pkgname"
+
+ msg2 'Compiling...'
+ scons
+}
+
+package() {
+ cd "$srcdir/$pkgname"
+
+ 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"
+ 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:
Copied: fceux/repos/community-staging-i686/fceux.install (from rev 85079, fceux/trunk/fceux.install)
===================================================================
--- community-staging-i686/fceux.install (rev 0)
+++ community-staging-i686/fceux.install 2013-02-27 11:42:43 UTC (rev 85080)
@@ -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:
Copied: fceux/repos/community-staging-x86_64/PKGBUILD (from rev 85079, fceux/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2013-02-27 11:42:43 UTC (rev 85080)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contriutor: Eric Belanger <eric at archlinux.org>
+# Contributor: Jo Christian Bergskås <jcberg at gmail.com>
+
+pkgname=fceux
+pkgver=2.2.0
+pkgrel=3
+url='http://www.fceux.com/'
+pkgdesc='Fast and ultra-compatible NES/Famicom emulator'
+arch=('x86_64' 'i686')
+license=('GPL')
+depends=('sdl' 'gtk2' 'gd' 'desktop-file-utils' 'lua51' 'libgl')
+makedepends=('scons' 'mesa-libgl' 'glu')
+optdepends=('xchm: for viewing the manual')
+install=$pkgname.install
+source=("https://sourceforge.net/projects/fceultra/files/Source%20Code/$pkgver%20src/$pkgname-$pkgver.src.tar.gz")
+sha256sums=('31ad7b478d5c0911a67a4eaeae9de915d44fc95844148a135114e27d7fd1a694')
+
+build() {
+ cd "$srcdir/$pkgname"
+
+ msg2 'Compiling...'
+ scons
+}
+
+package() {
+ cd "$srcdir/$pkgname"
+
+ 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"
+ 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:
Copied: fceux/repos/community-staging-x86_64/fceux.install (from rev 85079, fceux/trunk/fceux.install)
===================================================================
--- community-staging-x86_64/fceux.install (rev 0)
+++ community-staging-x86_64/fceux.install 2013-02-27 11:42:43 UTC (rev 85080)
@@ -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:
More information about the arch-commits
mailing list