[arch-commits] Commit in zsnes/repos (community-x86_64 community-x86_64/PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Thu Jul 8 19:27:41 UTC 2021


    Date: Thursday, July 8, 2021 @ 19:27:41
  Author: arodseth
Revision: 975850

archrelease: copy trunk to community-x86_64

Added:
  zsnes/repos/community-x86_64/
  zsnes/repos/community-x86_64/PKGBUILD
    (from rev 975849, zsnes/trunk/PKGBUILD)

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

Copied: zsnes/repos/community-x86_64/PKGBUILD (from rev 975849, zsnes/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2021-07-08 19:27:41 UTC (rev 975850)
@@ -0,0 +1,35 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Levente Polyak <anthraxx at archlinux.org>
+# Contributor: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Frank Tetzel <frank.tetzel at mailbox.tu-dresden.de>
+# Contributor: Hugo Doria <hugo at archlinux.org>
+# Contributor: Aurelien Foret <orelien at chez.com>
+
+pkgname=zsnes
+pkgver=2.0.0
+pkgrel=1
+pkgdesc='Super Nintendo emulator'
+url='https://github.com/xyproto/zsnes'
+arch=(x86_64)
+license=(GPL)
+makedepends=(gendesk git mesa nasm)
+depends=(lib32-libpng lib32-opengl-driver lib32-sdl)
+optdepends=('lib32-alsa-lib: sound support for ALSA'
+            'lib32-libpulse: sound support for Pulse Audio')
+source=("git+$url#commit=af4fcf97ca0892bb6b47d6e03a17ada3539ea55a") # tag: 2.0.0
+b2sums=(SKIP)
+
+prepare() {
+  gendesk -f --pkgname $pkgname --pkgdesc "$pkgdesc"
+}
+
+build() {
+  make -C $pkgname
+}
+
+package() {
+  install -Dm644 zsnes.desktop "$pkgdir/usr/share/applications/zsnes.desktop"
+  install -Dm644 zsnes.png "$pkgdir/usr/share/pixmaps/zsnes.png"
+  install -Dm755 zsnes/zsnes "$pkgdir/usr/bin/zsnes"
+  install -Dm644 zsnes/linux/zsnes.1 "$pkgdir/usr/share/man/man1/zsnes.1"
+}




More information about the arch-commits mailing list