[arch-commits] Commit in gens/repos (6 files)

Maxime Gauduin alucryd at nymeria.archlinux.org
Fri Mar 22 00:48:04 UTC 2013


    Date: Friday, March 22, 2013 @ 01:48:03
  Author: alucryd
Revision: 86777

archrelease: copy trunk to community-i686, community-x86_64

Added:
  gens/repos/community-i686/
  gens/repos/community-i686/PKGBUILD
    (from rev 86776, gens/trunk/PKGBUILD)
  gens/repos/community-i686/gens.desktop
    (from rev 86776, gens/trunk/gens.desktop)
  gens/repos/community-x86_64/
  gens/repos/community-x86_64/PKGBUILD
    (from rev 86776, gens/trunk/PKGBUILD)
  gens/repos/community-x86_64/gens.desktop
    (from rev 86776, gens/trunk/gens.desktop)

-------------------------------+
 community-i686/PKGBUILD       |   55 ++++++++++++++++++++++++++++++++++++++++
 community-i686/gens.desktop   |    9 ++++++
 community-x86_64/PKGBUILD     |   55 ++++++++++++++++++++++++++++++++++++++++
 community-x86_64/gens.desktop |    9 ++++++
 4 files changed, 128 insertions(+)

Copied: gens/repos/community-i686/PKGBUILD (from rev 86776, gens/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2013-03-22 00:48:03 UTC (rev 86777)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at gmail.com>
+# Contributor: trya <tryagainprod at gmail.com>
+# Contributor: robb_force <robb_force at holybuffalo.net>
+
+pkgname=gens
+pkgver=2.15.5
+pkgrel=6
+pkgdesc='A Sega Genesis / Sega CD / Sega 32X emulator'
+arch=('i686' 'x86_64')
+url='http://gens.sourceforge.net'
+license=('GPL')
+if [[ $CARCH == "x86_64" ]]; then
+  makedepends=('gcc-multilib' 'lib32-gtk2' 'lib32-mesa-libgl' 'lib32-sdl' 'nasm')
+else
+  depends=('gtk2' 'sdl')
+  makedepends=('nasm')
+fi
+options=('!buildflags')
+source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+        'gens.desktop')
+sha256sums=('51910d3056da9ffbb2c01cfec064998c9a4cad0cb379d703ec1b93c83dba305a'
+            '146a0e98780b909877b3937c9132c85f5aba9450ef9f748bd1374ae8c9dfb751')
+
+build() {
+  cd "${srcdir}"/${pkgname}-${pkgver}
+
+# Multilib
+  if [[ $CARCH == "x86_64" ]]; then
+    export CC="gcc -m32"
+    export CXX="g++ -m32"
+    export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+  fi
+
+# Build
+  export LDFLAGS=-Wl,-z,noexecstack
+  ./configure --host=i686-unknown-linux-gnu --prefix=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}"/${pkgname}-${pkgver}
+
+# Multilib
+  if [[ $CARCH == "x86_64" ]]; then
+    depends=('lib32-gtk2' 'lib32-sdl')
+  fi
+
+# Install
+  make DESTDIR=${pkgdir} install
+  install -dm 755 "${pkgdir}"/usr/share/applications
+  install -m 644 ../gens.desktop "${pkgdir}"/usr/share/applications/gens.desktop
+}
+
+# vim: ts=2 sw=2 et:

Copied: gens/repos/community-i686/gens.desktop (from rev 86776, gens/trunk/gens.desktop)
===================================================================
--- community-i686/gens.desktop	                        (rev 0)
+++ community-i686/gens.desktop	2013-03-22 00:48:03 UTC (rev 86777)
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Gens
+Type=Application
+GenericName=A Sega Genesis / Sega CD / Sega 32X emulator
+Comment=A Sega Genesis / Sega CD / Sega 32X emulator
+Exec=gens
+Icon=/usr/share/gens/Gens2.ico
+Categories=Application;Game;Emulator;

Copied: gens/repos/community-x86_64/PKGBUILD (from rev 86776, gens/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2013-03-22 00:48:03 UTC (rev 86777)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at gmail.com>
+# Contributor: trya <tryagainprod at gmail.com>
+# Contributor: robb_force <robb_force at holybuffalo.net>
+
+pkgname=gens
+pkgver=2.15.5
+pkgrel=6
+pkgdesc='A Sega Genesis / Sega CD / Sega 32X emulator'
+arch=('i686' 'x86_64')
+url='http://gens.sourceforge.net'
+license=('GPL')
+if [[ $CARCH == "x86_64" ]]; then
+  makedepends=('gcc-multilib' 'lib32-gtk2' 'lib32-mesa-libgl' 'lib32-sdl' 'nasm')
+else
+  depends=('gtk2' 'sdl')
+  makedepends=('nasm')
+fi
+options=('!buildflags')
+source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+        'gens.desktop')
+sha256sums=('51910d3056da9ffbb2c01cfec064998c9a4cad0cb379d703ec1b93c83dba305a'
+            '146a0e98780b909877b3937c9132c85f5aba9450ef9f748bd1374ae8c9dfb751')
+
+build() {
+  cd "${srcdir}"/${pkgname}-${pkgver}
+
+# Multilib
+  if [[ $CARCH == "x86_64" ]]; then
+    export CC="gcc -m32"
+    export CXX="g++ -m32"
+    export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+  fi
+
+# Build
+  export LDFLAGS=-Wl,-z,noexecstack
+  ./configure --host=i686-unknown-linux-gnu --prefix=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}"/${pkgname}-${pkgver}
+
+# Multilib
+  if [[ $CARCH == "x86_64" ]]; then
+    depends=('lib32-gtk2' 'lib32-sdl')
+  fi
+
+# Install
+  make DESTDIR=${pkgdir} install
+  install -dm 755 "${pkgdir}"/usr/share/applications
+  install -m 644 ../gens.desktop "${pkgdir}"/usr/share/applications/gens.desktop
+}
+
+# vim: ts=2 sw=2 et:

Copied: gens/repos/community-x86_64/gens.desktop (from rev 86776, gens/trunk/gens.desktop)
===================================================================
--- community-x86_64/gens.desktop	                        (rev 0)
+++ community-x86_64/gens.desktop	2013-03-22 00:48:03 UTC (rev 86777)
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Gens
+Type=Application
+GenericName=A Sega Genesis / Sega CD / Sega 32X emulator
+Comment=A Sega Genesis / Sega CD / Sega 32X emulator
+Exec=gens
+Icon=/usr/share/gens/Gens2.ico
+Categories=Application;Game;Emulator;




More information about the arch-commits mailing list