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 <xypr...@archlinux.org> +# Contributor: Levente Polyak <anthr...@archlinux.org> +# Contributor: Sven-Hendrik Haase <s...@lutzhaase.com> +# Contributor: Frank Tetzel <frank.tet...@mailbox.tu-dresden.de> +# Contributor: Hugo Doria <h...@archlinux.org> +# Contributor: Aurelien Foret <orel...@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" +}