[arch-commits] Commit in fceux/repos (2 files)

Felix Yan felixonmars at archlinux.org
Fri Nov 9 23:01:21 UTC 2018


    Date: Friday, November 9, 2018 @ 23:01:20
  Author: felixonmars
Revision: 405155

archrelease: copy trunk to community-staging-x86_64

Added:
  fceux/repos/community-staging-x86_64/
  fceux/repos/community-staging-x86_64/PKGBUILD
    (from rev 405154, fceux/trunk/PKGBUILD)

----------+
 PKGBUILD |   39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

Copied: fceux/repos/community-staging-x86_64/PKGBUILD (from rev 405154, fceux/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-11-09 23:01:20 UTC (rev 405155)
@@ -0,0 +1,39 @@
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contriutor: Eric Belanger <eric at archlinux.org>
+# Contributor: Jo Christian Bergskås <jcberg at gmail.com>
+
+pkgname=fceux
+pkgver=2.2.3
+pkgrel=2
+url='http://www.fceux.com/'
+pkgdesc='Fast and ultra-compatible NES/Famicom emulator'
+arch=('x86_64')
+license=('GPL')
+depends=('sdl' 'gtk2' 'gd')
+makedepends=('scons' 'mesa-libgl' 'glu')
+source=("https://downloads.sourceforge.net/project/fceultra/Source%20Code/$pkgver%20src/$pkgname-$pkgver.src.tar.gz")
+sha256sums=('4be6dda9a347f941809a3c4a90d21815b502384adfdd596adaa7b2daf088823e')
+
+build() {
+  scons -C "$pkgname-$pkgver"
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+
+  scons install -i --prefix="$pkgdir/usr"
+
+  install -d "$pkgdir/usr/share/doc/$pkgname"
+  cp -r documentation/* "$pkgdir/usr/share/doc/$pkgname/"
+  install -Dm644 changelog.txt "$pkgdir/usr/share/doc/$pkgname/"
+
+  # desktop shortcut
+  install -Dm644 "$pkgname.desktop" \
+    "$pkgdir/usr/share/applications/$pkgname.desktop"
+  install -Dm644 "$pkgname.png" \
+    "$pkgdir/usr/share/pixmaps/$pkgname.png"
+
+  rm -f "$pkgdir/usr/share/$pkgname/"*.dll
+}
+
+# vim:set ts=2 sw=2 et:


More information about the arch-commits mailing list