Date: Monday, July 4, 2022 @ 16:32:44 Author: arojas Revision: 1243914
archrelease: copy trunk to multilib-x86_64 Added: zsnes/repos/multilib-x86_64/PKGBUILD (from rev 1243913, zsnes/trunk/PKGBUILD) Deleted: zsnes/repos/multilib-x86_64/PKGBUILD ----------+ PKGBUILD | 82 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 41 insertions(+), 41 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-07-04 16:28:45 UTC (rev 1243913) +++ PKGBUILD 2022-07-04 16:32:44 UTC (rev 1243914) @@ -1,41 +0,0 @@ -# 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.10 -pkgrel=1 -pkgdesc='Super Nintendo emulator' -url='https://github.com/xyproto/zsnes' -arch=(x86_64) -license=(GPL2) -makedepends=(gendesk git mesa nasm setconf) -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=97ec3f4d6d1f2b52ff03aa85fa64569efdd5668a") # tag: 2.0.10 -b2sums=('SKIP') - -prepare() { - gendesk -f -n --pkgname $pkgname --pkgdesc "$pkgdesc" -} - -build() { - export CFLAGS=${CFLAGS/-fcf-protection/} - export CXXFLAGS=${CXXFLAGS/-fcf-protection/} - - # Until zsnes is patched upstream - export CFLAGS=${CFLAGS/-Wp,-D_FORTIFY_SOURCE=2/} - export CXXFLAGS=${CXXFLAGS/-Wp,-D_FORTIFY_SOURCE=2/} - - make -C $pkgname -} - -package() { - install -Dm644 zsnes.desktop "$pkgdir/usr/share/applications/zsnes.desktop" - install -Dm644 zsnes/icons/64x64x32.png "$pkgdir/usr/share/pixmaps/zsnes.png" - DESTDIR="$pkgdir" make -C $pkgname install -} Copied: zsnes/repos/multilib-x86_64/PKGBUILD (from rev 1243913, zsnes/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-07-04 16:32:44 UTC (rev 1243914) @@ -0,0 +1,41 @@ +# 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.10 +pkgrel=1 +pkgdesc='Super Nintendo emulator' +url='https://github.com/xyproto/zsnes' +arch=(x86_64) +license=(GPL2) +makedepends=(gendesk git mesa nasm setconf) +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=97ec3f4d6d1f2b52ff03aa85fa64569efdd5668a") # tag: 2.0.10 +b2sums=('SKIP') + +prepare() { + gendesk -f -n --pkgname $pkgname --pkgdesc "$pkgdesc" +} + +build() { + export CFLAGS=${CFLAGS/-fcf-protection/} + export CXXFLAGS=${CXXFLAGS/-fcf-protection/} + + # Until zsnes is patched upstream + export CFLAGS=${CFLAGS/-Wp,-D_FORTIFY_SOURCE=2/} + export CXXFLAGS=${CXXFLAGS/-Wp,-D_FORTIFY_SOURCE=2/} + + make -C $pkgname +} + +package() { + install -Dm644 zsnes.desktop "$pkgdir/usr/share/applications/zsnes.desktop" + install -Dm644 zsnes/icons/64x64x32.png "$pkgdir/usr/share/pixmaps/zsnes.png" + DESTDIR="$pkgdir" make -C $pkgname install +}