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

Maxime Gauduin alucryd at archlinux.org
Wed Nov 14 08:51:54 UTC 2018


    Date: Wednesday, November 14, 2018 @ 08:51:54
  Author: alucryd
Revision: 407322

archrelease: copy trunk to community-x86_64

Added:
  snes9x/repos/community-x86_64/PKGBUILD
    (from rev 407321, snes9x/trunk/PKGBUILD)
Deleted:
  snes9x/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  148 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 78 insertions(+), 70 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-14 08:51:44 UTC (rev 407321)
+++ PKGBUILD	2018-11-14 08:51:54 UTC (rev 407322)
@@ -1,70 +0,0 @@
-# $Id$
-# Maintainer: Eric Bélanger <eric at archlinux.org>
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-
-pkgbase=snes9x
-pkgname=('snes9x' 'snes9x-gtk')
-pkgver=1.56.2
-pkgrel=1
-pkgdesc='Portable Super Nintendo Entertainment System (TM) emulator'
-arch=('x86_64')
-url='http://www.snes9x.com/'
-license=('custom')
-makedepends=(
-  'alsa-lib' 'cairo' 'gdk-pixbuf2' 'glib2' 'gtk3' 'intltool' 'libepoxy'
-  'libpng' 'libpulse' 'libx11' 'libxext' 'libxml2' 'libxrandr' 'libxv'
-  'minizip' 'nasm' 'sdl2' 'zlib'
-)
-source=("https://github.com/snes9xgit/snes9x/archive/${pkgver}.tar.gz")
-sha1sums=('761af9b038d8856af67aa6683f9f25865ab57283')
-
-prepare() {
-  cd snes9x-${pkgver}/gtk
-
-  autoreconf -vif
-}
-
-
-build() {
-  cd snes9x-${pkgver}/unix
-
-  ./configure \
-    --prefix='/usr' \
-    --enable-netplay
-  make
-
-  cd ../gtk
-  ./autogen.sh
-  ./configure \
-    --prefix='/usr' \
-    --with-netplay \
-    --with-opengl
-  make
-}
-
-package_snes9x() {
-  depends=('libpng' 'libx11' 'libxext' 'libxinerama' 'libxv' 'minizip' 'zlib')
-
-  cd snes9x-${pkgver}/unix
-
-  install -Dm 755 snes9x -t "${pkgdir}"/usr/bin/
-  install -Dm 644 ../docs/{snes9x.conf.default,control-inputs.txt,controls.txt,snapshots.txt} -t "${pkgdir}"/usr/share/doc/snes9x
-  install -Dm 644 ../LICENSE "${pkgdir}"/usr/share/licenses/snes9x/LICENSE
-
-}
-
-package_snes9x-gtk() {
-  depends=(
-    'alsa-lib' 'cairo' 'gdk-pixbuf2' 'glib2' 'gtk3' 'hicolor-icon-theme'
-    'libepoxy' 'libpng' 'libpulse' 'libx11' 'libxext' 'libxml2' 'libxrandr'
-    'libxv' 'minizip' 'sdl2' 'zlib'
-  )
-
-  cd snes9x-${pkgver}/gtk
-
-  make DESTDIR="${pkgdir}" install
-  install -Dm 644 ../docs/{snes9x.conf.default,control-inputs.txt,controls.txt,snapshots.txt} -t "${pkgdir}"/usr/share/doc/snes9x-gtk
-  install -Dm 644 ../LICENSE "${pkgdir}"/usr/share/licenses/snes9x-gtk/LICENSE
-}
-
-# vim: ts=2 sw=2 et:

Copied: snes9x/repos/community-x86_64/PKGBUILD (from rev 407321, snes9x/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-11-14 08:51:54 UTC (rev 407322)
@@ -0,0 +1,78 @@
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgbase=snes9x
+pkgname=('snes9x' 'snes9x-gtk')
+pkgver=1.57
+pkgrel=1
+pkgdesc='Portable Super Nintendo Entertainment System (TM) emulator'
+arch=('x86_64')
+url='http://www.snes9x.com/'
+license=('custom')
+makedepends=(
+  'alsa-lib' 'cairo' 'gdk-pixbuf2' 'git' 'glib2' 'gtk3' 'intltool' 'libepoxy'
+  'libpng' 'libpulse' 'libx11' 'libxext' 'libxml2' 'libxrandr' 'libxv'
+  'minizip' 'nasm' 'sdl2' 'zlib'
+)
+source=("git+https://github.com/snes9xgit/snes9x.git#tag=${pkgver}")
+sha256sums=('SKIP')
+
+prepare() {
+  pushd snes9x/unix
+
+  autoreconf -fiv
+
+  popd
+  pushd snes9x/gtk
+
+  ./autogen.sh
+
+  popd
+}
+
+build() {
+  pushd snes9x/unix
+
+  ./configure \
+    --prefix='/usr' \
+    --enable-netplay
+  make
+
+  popd
+  pushd snes9x/gtk
+
+  ./configure \
+    --prefix='/usr' \
+    --with-netplay \
+    --with-opengl
+  make
+
+  popd
+}
+
+package_snes9x() {
+  depends=('libpng' 'libx11' 'libxext' 'libxinerama' 'libxv' 'minizip' 'zlib')
+
+  cd snes9x/unix
+
+  install -Dm 755 snes9x -t "${pkgdir}"/usr/bin/
+  install -Dm 644 ../docs/{snes9x.conf.default,control-inputs.txt,controls.txt,snapshots.txt} -t "${pkgdir}"/usr/share/doc/snes9x
+  install -Dm 644 ../LICENSE "${pkgdir}"/usr/share/licenses/snes9x/LICENSE
+
+}
+
+package_snes9x-gtk() {
+  depends=(
+    'alsa-lib' 'cairo' 'gdk-pixbuf2' 'glib2' 'gtk3' 'hicolor-icon-theme'
+    'libepoxy' 'libpng' 'libpulse' 'libx11' 'libxext' 'libxml2' 'libxrandr'
+    'libxv' 'minizip' 'sdl2' 'zlib'
+  )
+
+  cd snes9x/gtk
+
+  make DESTDIR="${pkgdir}" install
+  install -Dm 644 ../docs/{snes9x.conf.default,control-inputs.txt,controls.txt,snapshots.txt} -t "${pkgdir}"/usr/share/doc/snes9x-gtk
+  install -Dm 644 ../LICENSE "${pkgdir}"/usr/share/licenses/snes9x-gtk/LICENSE
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list