Date: Thursday, December 1, 2016 @ 16:24:24
  Author: spupykin
Revision: 197619

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

Added:
  sdlmame/repos/community-i686/PKGBUILD
    (from rev 197618, sdlmame/trunk/PKGBUILD)
  sdlmame/repos/community-i686/extras.tar.gz
    (from rev 197618, sdlmame/trunk/extras.tar.gz)
  sdlmame/repos/community-i686/sdlmame.install
    (from rev 197618, sdlmame/trunk/sdlmame.install)
  sdlmame/repos/community-i686/sdlmame.sh
    (from rev 197618, sdlmame/trunk/sdlmame.sh)
  sdlmame/repos/community-x86_64/PKGBUILD
    (from rev 197618, sdlmame/trunk/PKGBUILD)
  sdlmame/repos/community-x86_64/extras.tar.gz
    (from rev 197618, sdlmame/trunk/extras.tar.gz)
  sdlmame/repos/community-x86_64/sdlmame.install
    (from rev 197618, sdlmame/trunk/sdlmame.install)
  sdlmame/repos/community-x86_64/sdlmame.sh
    (from rev 197618, sdlmame/trunk/sdlmame.sh)
Deleted:
  sdlmame/repos/community-i686/PKGBUILD
  sdlmame/repos/community-i686/extras.tar.gz
  sdlmame/repos/community-i686/sdlmame.install
  sdlmame/repos/community-i686/sdlmame.sh
  sdlmame/repos/community-x86_64/PKGBUILD
  sdlmame/repos/community-x86_64/extras.tar.gz
  sdlmame/repos/community-x86_64/sdlmame.install
  sdlmame/repos/community-x86_64/sdlmame.sh

----------------------------------+
 /PKGBUILD                        |  190 +++++++++++++++++++++++++++++++++++++
 /sdlmame.install                 |   16 +++
 /sdlmame.sh                      |  112 +++++++++++++++++++++
 community-i686/PKGBUILD          |   95 ------------------
 community-i686/sdlmame.install   |    8 -
 community-i686/sdlmame.sh        |   56 ----------
 community-x86_64/PKGBUILD        |   95 ------------------
 community-x86_64/sdlmame.install |    8 -
 community-x86_64/sdlmame.sh      |   56 ----------
 9 files changed, 318 insertions(+), 318 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD     2016-12-01 16:23:59 UTC (rev 197618)
+++ community-i686/PKGBUILD     2016-12-01 16:24:24 UTC (rev 197619)
@@ -1,95 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com>
-# Contributor: robb_force <robb_fo...@holybuffalo.net>
-# Maintainer: JJDaNiMoTh <jjdanim...@gmail.com>
-
-pkgname=sdlmame
-pkgver=0.179
-pkgrel=1
-pkgdesc="A port of the popular Multiple Arcade Machine Emulator using SDL with 
OpenGL support."
-url="http://mamedev.org/";
-license=('GPL2')
-arch=('i686' 'x86_64')
-depends=('sdl2' 'libxinerama' 'sdl2_ttf' 'alsa-lib' 'qt5-base')
-makedepends=('unzip' 'nasm' 'mesa' 'glu' 'wget' 'python2')
-install=sdlmame.install
-source=("https://github.com/mamedev/mame/releases/download/mame${pkgver/./}/mame${pkgver/./}s.zip";
-       "sdlmame.sh"
-       "extras.tar.gz"
-       ${_patches})
-md5sums=('177706da927c2f379c1a655a6c5185ab'
-         '0cced0fe9868cc56129600fb4bd5b9ed'
-         '420b61240bf5ae11615ba7c6100ee00d')
-
-prepare() {
-  cd $srcdir/
-  unzip mame.zip || true
-}
-
-build() {
-  cd $srcdir
-  make \
-    NOWERROR=1 \
-    OPTIMIZE=2 \
-    PYTHON_EXECUTABLE=/usr/bin/python2 \
-    TOOLS=1 \
-    ARCHOPTS=-flifetime-dse=1 \
-    -j1
-}
-
-package() {
-  cd $srcdir
-  # Install the sdlmame script
-  install -Dm755 $srcdir/${pkgname}.sh $pkgdir/usr/bin/${pkgname}
-
-  # Install the applications and the UI font in /usr/share
-  install -Dm755 mame $pkgdir/usr/lib/${pkgname}/${pkgname} || \
-  install -Dm755 mame64 $pkgdir/usr/lib/${pkgname}/${pkgname}
-
-  install -m755 chdman $pkgdir/usr/lib/${pkgname}/chdman
-  install -m755 jedutil $pkgdir/usr/lib/${pkgname}/jedutil
-  install -m755 regrep $pkgdir/usr/lib/${pkgname}/regrep
-  install -m755 romcmp $pkgdir/usr/lib/${pkgname}/romcmp
-#  install -m755 testkeys $pkgdir/usr/lib/${pkgname}/testkeys
-  install -m755 src2html $pkgdir/usr/lib/${pkgname}/src2html
-  install -m755 srcclean $pkgdir/usr/lib/${pkgname}/srcclean
-  install -m755 ldverify $pkgdir/usr/lib/${pkgname}/ldverify
-  install -m755 ldresample $pkgdir/usr/lib/${pkgname}/ldresample
-
-  # ln binaries
-  install -dm755 $pkgdir/usr/share/${pkgname}
-  for i in $pkgname chdman jedutil regrep romcmp testkeys src2html srcclean 
ldverify ldresample; do
-    ln -s /usr/lib/$pkgname/$i $pkgdir/usr/share/$pkgname/$i
-  done
-
-  # Install the extra bits
-  install -d $pkgdir/usr/share/${pkgname}/{artwork,ctrlr,hash,keymaps,shader}
-  install -d $pkgdir/usr/share/man/man1
-  install -d $pkgdir/usr/share/man/man6
-  install -m644 src/osd/modules/opengl/shader/glsl*.*h 
$pkgdir/usr/share/${pkgname}/shader/
-#  install -m644 src/osd/sdl/man/*.1* $pkgdir/usr/share/man/man1/
-#  install -m644 src/osd/sdl/man/*.6* $pkgdir/usr/share/man/man6/
-
-  cp -a $srcdir/artwork/* $pkgdir/usr/share/${pkgname}/artwork/
-  install -m644 $srcdir/ctrlr/* $pkgdir/usr/share/${pkgname}/ctrlr/
-  install -m644 keymaps/* $pkgdir/usr/share/${pkgname}/keymaps/
-  install -m644 hash/* $pkgdir/usr/share/${pkgname}/hash/
-  cp -a bgfx $pkgdir/usr/share/${pkgname}/bgfx
-  cp -a plugins $pkgdir/usr/share/${pkgname}/plugins
-  cp -a language $pkgdir/usr/share/${pkgname}/language
-
-  # Include the license
-  install -Dm644 docs/LICENSE $pkgdir/usr/share/licenses/${pkgname}/LICENSE
-
-  # FS#28203
-  sed -i 's|KEYCODE_2_PAD|KEYCODE_2PAD|' $pkgdir/usr/share/sdlmame/ctrlr/*.cfg
-  sed -i 's|KEYCODE_4_PAD|KEYCODE_4PAD|' $pkgdir/usr/share/sdlmame/ctrlr/*.cfg
-  sed -i 's|KEYCODE_6_PAD|KEYCODE_6PAD|' $pkgdir/usr/share/sdlmame/ctrlr/*.cfg
-  sed -i 's|KEYCODE_8_PAD|KEYCODE_8PAD|' $pkgdir/usr/share/sdlmame/ctrlr/*.cfg
-
-  find $pkgdir -type f -exec strip {} \;
-
-  # documentation
-  install -dm0755 $pkgdir/usr/share/doc
-  cp -a docs $pkgdir/usr/share/doc/$pkgname
-}

Copied: sdlmame/repos/community-i686/PKGBUILD (from rev 197618, 
sdlmame/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD                             (rev 0)
+++ community-i686/PKGBUILD     2016-12-01 16:24:24 UTC (rev 197619)
@@ -0,0 +1,95 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com>
+# Contributor: robb_force <robb_fo...@holybuffalo.net>
+# Maintainer: JJDaNiMoTh <jjdanim...@gmail.com>
+
+pkgname=sdlmame
+pkgver=0.180
+pkgrel=1
+pkgdesc="A port of the popular Multiple Arcade Machine Emulator using SDL with 
OpenGL support."
+url="http://mamedev.org/";
+license=('GPL2')
+arch=('i686' 'x86_64')
+depends=('sdl2' 'libxinerama' 'sdl2_ttf' 'alsa-lib' 'qt5-base')
+makedepends=('unzip' 'nasm' 'mesa' 'glu' 'wget' 'python2')
+install=sdlmame.install
+source=("https://github.com/mamedev/mame/releases/download/mame${pkgver/./}/mame${pkgver/./}s.zip";
+       "sdlmame.sh"
+       "extras.tar.gz"
+       ${_patches})
+sha256sums=('2526e3c97dc35e540f01db4dbcf81ff469f02f6e5a463bf78ae0738dd26674d4'
+            '06e7f5dca2255a16b3336a6d2b9af8276a8d8c672635aed83e9e8f636db3cef7'
+            '5ba55ce8c33743207a12a7509efdf13dd98f5d87fa12f0e471ea523d3ae4f4ac')
+
+prepare() {
+  cd "$srcdir"/
+  unzip mame.zip || true
+}
+
+build() {
+  cd "$srcdir"
+  make \
+    NOWERROR=1 \
+    OPTIMIZE=2 \
+    PYTHON_EXECUTABLE=/usr/bin/python2 \
+    TOOLS=1 \
+    ARCHOPTS=-flifetime-dse=1 \
+    -j1
+}
+
+package() {
+  cd "$srcdir"
+  # Install the sdlmame script
+  install -Dm755 "$srcdir"/${pkgname}.sh "$pkgdir"/usr/bin/${pkgname}
+
+  # Install the applications and the UI font in /usr/share
+  install -Dm755 mame "$pkgdir"/usr/lib/${pkgname}/${pkgname} || \
+  install -Dm755 mame64 "$pkgdir"/usr/lib/${pkgname}/${pkgname}
+
+  install -m755 chdman "$pkgdir"/usr/lib/${pkgname}/chdman
+  install -m755 jedutil "$pkgdir"/usr/lib/${pkgname}/jedutil
+  install -m755 regrep "$pkgdir"/usr/lib/${pkgname}/regrep
+  install -m755 romcmp "$pkgdir"/usr/lib/${pkgname}/romcmp
+#  install -m755 testkeys "$pkgdir"/usr/lib/${pkgname}/testkeys
+  install -m755 src2html "$pkgdir"/usr/lib/${pkgname}/src2html
+  install -m755 srcclean "$pkgdir"/usr/lib/${pkgname}/srcclean
+  install -m755 ldverify "$pkgdir"/usr/lib/${pkgname}/ldverify
+  install -m755 ldresample "$pkgdir"/usr/lib/${pkgname}/ldresample
+
+  # ln binaries
+  install -dm755 "$pkgdir"/usr/share/${pkgname}
+  for i in $pkgname chdman jedutil regrep romcmp testkeys src2html srcclean 
ldverify ldresample; do
+    ln -s /usr/lib/$pkgname/$i "$pkgdir"/usr/share/$pkgname/$i
+  done
+
+  # Install the extra bits
+  install -d "$pkgdir"/usr/share/${pkgname}/{artwork,ctrlr,hash,keymaps,shader}
+  install -d "$pkgdir"/usr/share/man/man1
+  install -d "$pkgdir"/usr/share/man/man6
+  install -m644 src/osd/modules/opengl/shader/glsl*.*h 
"$pkgdir"/usr/share/${pkgname}/shader/
+#  install -m644 src/osd/sdl/man/*.1* "$pkgdir"/usr/share/man/man1/
+#  install -m644 src/osd/sdl/man/*.6* "$pkgdir"/usr/share/man/man6/
+
+  cp -a "$srcdir"/artwork/* "$pkgdir"/usr/share/${pkgname}/artwork/
+  install -m644 "$srcdir"/ctrlr/* "$pkgdir"/usr/share/${pkgname}/ctrlr/
+  install -m644 keymaps/* "$pkgdir"/usr/share/${pkgname}/keymaps/
+  install -m644 hash/* "$pkgdir"/usr/share/${pkgname}/hash/
+  cp -a bgfx "$pkgdir"/usr/share/${pkgname}/bgfx
+  cp -a plugins "$pkgdir"/usr/share/${pkgname}/plugins
+  cp -a language "$pkgdir"/usr/share/${pkgname}/language
+
+  # Include the license
+  install -Dm644 docs/LICENSE "$pkgdir"/usr/share/licenses/${pkgname}/LICENSE
+
+  # FS#28203
+  sed -i 's|KEYCODE_2_PAD|KEYCODE_2PAD|' 
"$pkgdir"/usr/share/sdlmame/ctrlr/*.cfg
+  sed -i 's|KEYCODE_4_PAD|KEYCODE_4PAD|' 
"$pkgdir"/usr/share/sdlmame/ctrlr/*.cfg
+  sed -i 's|KEYCODE_6_PAD|KEYCODE_6PAD|' 
"$pkgdir"/usr/share/sdlmame/ctrlr/*.cfg
+  sed -i 's|KEYCODE_8_PAD|KEYCODE_8PAD|' 
"$pkgdir"/usr/share/sdlmame/ctrlr/*.cfg
+
+  find "$pkgdir" -type f -exec strip {} \;
+
+  # documentation
+  install -dm0755 "$pkgdir"/usr/share/doc
+  cp -a docs "$pkgdir"/usr/share/doc/$pkgname
+}

Deleted: community-i686/extras.tar.gz
===================================================================
(Binary files differ)

Copied: sdlmame/repos/community-i686/extras.tar.gz (from rev 197618, 
sdlmame/trunk/extras.tar.gz)
===================================================================
(Binary files differ)

Deleted: community-i686/sdlmame.install
===================================================================
--- community-i686/sdlmame.install      2016-12-01 16:23:59 UTC (rev 197618)
+++ community-i686/sdlmame.install      2016-12-01 16:24:24 UTC (rev 197619)
@@ -1,8 +0,0 @@
-post_install()
-{
-  echo " SDLMAME and the additional MAME utilities have been installed"
-  echo " in /usr/share/sdlmame However, SDLMAME can be run by"
-  echo " typing sdlmame and it's options. Try running SDLMAME with"
-  echo " these options:"
-  echo " sdlmame <rom> -nowindow -noswitchres"
-}

Copied: sdlmame/repos/community-i686/sdlmame.install (from rev 197618, 
sdlmame/trunk/sdlmame.install)
===================================================================
--- community-i686/sdlmame.install                              (rev 0)
+++ community-i686/sdlmame.install      2016-12-01 16:24:24 UTC (rev 197619)
@@ -0,0 +1,8 @@
+post_install()
+{
+  echo " SDLMAME and the additional MAME utilities have been installed"
+  echo " in /usr/share/sdlmame However, SDLMAME can be run by"
+  echo " typing sdlmame and it's options. Try running SDLMAME with"
+  echo " these options:"
+  echo " sdlmame <rom> -nowindow -noswitchres"
+}

Deleted: community-i686/sdlmame.sh
===================================================================
--- community-i686/sdlmame.sh   2016-12-01 16:23:59 UTC (rev 197618)
+++ community-i686/sdlmame.sh   2016-12-01 16:24:24 UTC (rev 197619)
@@ -1,56 +0,0 @@
-#!/bin/sh
-
-# Create a variable equal to $HOME that will be used later in the ini creation
-home=('$HOME')
-
-if [ "$1" != "" ] && [ "$1" = "--newini" ]; then
-  echo "Rebuilding the ini file at $HOME/.mame/mame.ini"
-  echo "Modify this file for permanent changes to your SDLMAME"
-  echo "options and paths before running SDLMAME again."
-  cd $HOME/.mame
-  if [ -e mame.ini ]; then
-    echo "Your old ini file has been renamed to mameini.bak"
-    mv mame.ini mameini.bak
-  fi
-  /usr/share/sdlmame/sdlmame \
-    -artpath "$home/.mame/artwork;artwork" \
-    -ctrlrpath "$home/.mame/ctrlr;ctrlr" \
-    -inipath $home/.mame/ini \
-    -rompath $home/.mame/roms \
-    -samplepath $home/.mame/samples \
-    -cfg_directory $home/.mame/cfg \
-    -comment_directory $home/.mame/comments \
-    -diff_directory $home/.mame/diff \
-    -input_directory $home/.mame/inp \
-    -nvram_directory $home/.mame/nvram \
-    -snapshot_directory $home/.mame/snap \
-    -state_directory $home/.mame/sta \
-    -video opengl \
-    -createconfig
-elif [ ! -e $HOME/.mame ]; then
-  echo "Running SDLMAME for the first time..."
-  echo "Creating an ini file for SDLMAME at $HOME/.mame/mame.ini"
-  echo "Modify this file for permanent changes to your SDLMAME"
-  echo "options and paths before running SDLMAME again."
-  mkdir $HOME/.mame
-  mkdir 
$HOME/.mame/{artwork,cfg,comments,ctrlr,diff,ini,inp,nvram,samples,snap,sta,roms}
-  cd $HOME/.mame
-  /usr/share/sdlmame/sdlmame \
-    -artpath "$home/.mame/artwork;artwork" \
-    -ctrlrpath "$home/.mame/ctrlr;ctrlr" \
-    -inipath $home/.mame/ini \
-    -rompath $home/.mame/roms \
-    -samplepath $home/.mame/samples \
-    -cfg_directory $home/.mame/cfg \
-    -comment_directory $home/.mame/comments \
-    -diff_directory $home/.mame/diff \
-    -input_directory $home/.mame/inp \
-    -nvram_directory $home/.mame/nvram \
-    -snapshot_directory $home/.mame/snap \
-    -state_directory $home/.mame/sta \
-    -video opengl \
-    -createconfig
-else
-  cd /usr/share/sdlmame
-  ./sdlmame "$@"
-fi

Copied: sdlmame/repos/community-i686/sdlmame.sh (from rev 197618, 
sdlmame/trunk/sdlmame.sh)
===================================================================
--- community-i686/sdlmame.sh                           (rev 0)
+++ community-i686/sdlmame.sh   2016-12-01 16:24:24 UTC (rev 197619)
@@ -0,0 +1,56 @@
+#!/bin/sh
+
+# Create a variable equal to $HOME that will be used later in the ini creation
+home=('$HOME')
+
+if [ "$1" != "" ] && [ "$1" = "--newini" ]; then
+  echo "Rebuilding the ini file at $HOME/.mame/mame.ini"
+  echo "Modify this file for permanent changes to your SDLMAME"
+  echo "options and paths before running SDLMAME again."
+  cd $HOME/.mame
+  if [ -e mame.ini ]; then
+    echo "Your old ini file has been renamed to mameini.bak"
+    mv mame.ini mameini.bak
+  fi
+  /usr/share/sdlmame/sdlmame \
+    -artpath "$home/.mame/artwork;artwork" \
+    -ctrlrpath "$home/.mame/ctrlr;ctrlr" \
+    -inipath $home/.mame/ini \
+    -rompath $home/.mame/roms \
+    -samplepath $home/.mame/samples \
+    -cfg_directory $home/.mame/cfg \
+    -comment_directory $home/.mame/comments \
+    -diff_directory $home/.mame/diff \
+    -input_directory $home/.mame/inp \
+    -nvram_directory $home/.mame/nvram \
+    -snapshot_directory $home/.mame/snap \
+    -state_directory $home/.mame/sta \
+    -video opengl \
+    -createconfig
+elif [ ! -e $HOME/.mame ]; then
+  echo "Running SDLMAME for the first time..."
+  echo "Creating an ini file for SDLMAME at $HOME/.mame/mame.ini"
+  echo "Modify this file for permanent changes to your SDLMAME"
+  echo "options and paths before running SDLMAME again."
+  mkdir $HOME/.mame
+  mkdir 
$HOME/.mame/{artwork,cfg,comments,ctrlr,diff,ini,inp,nvram,samples,snap,sta,roms}
+  cd $HOME/.mame
+  /usr/share/sdlmame/sdlmame \
+    -artpath "$home/.mame/artwork;artwork" \
+    -ctrlrpath "$home/.mame/ctrlr;ctrlr" \
+    -inipath $home/.mame/ini \
+    -rompath $home/.mame/roms \
+    -samplepath $home/.mame/samples \
+    -cfg_directory $home/.mame/cfg \
+    -comment_directory $home/.mame/comments \
+    -diff_directory $home/.mame/diff \
+    -input_directory $home/.mame/inp \
+    -nvram_directory $home/.mame/nvram \
+    -snapshot_directory $home/.mame/snap \
+    -state_directory $home/.mame/sta \
+    -video opengl \
+    -createconfig
+else
+  cd /usr/share/sdlmame
+  ./sdlmame "$@"
+fi

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD   2016-12-01 16:23:59 UTC (rev 197618)
+++ community-x86_64/PKGBUILD   2016-12-01 16:24:24 UTC (rev 197619)
@@ -1,95 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com>
-# Contributor: robb_force <robb_fo...@holybuffalo.net>
-# Maintainer: JJDaNiMoTh <jjdanim...@gmail.com>
-
-pkgname=sdlmame
-pkgver=0.179
-pkgrel=1
-pkgdesc="A port of the popular Multiple Arcade Machine Emulator using SDL with 
OpenGL support."
-url="http://mamedev.org/";
-license=('GPL2')
-arch=('i686' 'x86_64')
-depends=('sdl2' 'libxinerama' 'sdl2_ttf' 'alsa-lib' 'qt5-base')
-makedepends=('unzip' 'nasm' 'mesa' 'glu' 'wget' 'python2')
-install=sdlmame.install
-source=("https://github.com/mamedev/mame/releases/download/mame${pkgver/./}/mame${pkgver/./}s.zip";
-       "sdlmame.sh"
-       "extras.tar.gz"
-       ${_patches})
-md5sums=('177706da927c2f379c1a655a6c5185ab'
-         '0cced0fe9868cc56129600fb4bd5b9ed'
-         '420b61240bf5ae11615ba7c6100ee00d')
-
-prepare() {
-  cd $srcdir/
-  unzip mame.zip || true
-}
-
-build() {
-  cd $srcdir
-  make \
-    NOWERROR=1 \
-    OPTIMIZE=2 \
-    PYTHON_EXECUTABLE=/usr/bin/python2 \
-    TOOLS=1 \
-    ARCHOPTS=-flifetime-dse=1 \
-    -j1
-}
-
-package() {
-  cd $srcdir
-  # Install the sdlmame script
-  install -Dm755 $srcdir/${pkgname}.sh $pkgdir/usr/bin/${pkgname}
-
-  # Install the applications and the UI font in /usr/share
-  install -Dm755 mame $pkgdir/usr/lib/${pkgname}/${pkgname} || \
-  install -Dm755 mame64 $pkgdir/usr/lib/${pkgname}/${pkgname}
-
-  install -m755 chdman $pkgdir/usr/lib/${pkgname}/chdman
-  install -m755 jedutil $pkgdir/usr/lib/${pkgname}/jedutil
-  install -m755 regrep $pkgdir/usr/lib/${pkgname}/regrep
-  install -m755 romcmp $pkgdir/usr/lib/${pkgname}/romcmp
-#  install -m755 testkeys $pkgdir/usr/lib/${pkgname}/testkeys
-  install -m755 src2html $pkgdir/usr/lib/${pkgname}/src2html
-  install -m755 srcclean $pkgdir/usr/lib/${pkgname}/srcclean
-  install -m755 ldverify $pkgdir/usr/lib/${pkgname}/ldverify
-  install -m755 ldresample $pkgdir/usr/lib/${pkgname}/ldresample
-
-  # ln binaries
-  install -dm755 $pkgdir/usr/share/${pkgname}
-  for i in $pkgname chdman jedutil regrep romcmp testkeys src2html srcclean 
ldverify ldresample; do
-    ln -s /usr/lib/$pkgname/$i $pkgdir/usr/share/$pkgname/$i
-  done
-
-  # Install the extra bits
-  install -d $pkgdir/usr/share/${pkgname}/{artwork,ctrlr,hash,keymaps,shader}
-  install -d $pkgdir/usr/share/man/man1
-  install -d $pkgdir/usr/share/man/man6
-  install -m644 src/osd/modules/opengl/shader/glsl*.*h 
$pkgdir/usr/share/${pkgname}/shader/
-#  install -m644 src/osd/sdl/man/*.1* $pkgdir/usr/share/man/man1/
-#  install -m644 src/osd/sdl/man/*.6* $pkgdir/usr/share/man/man6/
-
-  cp -a $srcdir/artwork/* $pkgdir/usr/share/${pkgname}/artwork/
-  install -m644 $srcdir/ctrlr/* $pkgdir/usr/share/${pkgname}/ctrlr/
-  install -m644 keymaps/* $pkgdir/usr/share/${pkgname}/keymaps/
-  install -m644 hash/* $pkgdir/usr/share/${pkgname}/hash/
-  cp -a bgfx $pkgdir/usr/share/${pkgname}/bgfx
-  cp -a plugins $pkgdir/usr/share/${pkgname}/plugins
-  cp -a language $pkgdir/usr/share/${pkgname}/language
-
-  # Include the license
-  install -Dm644 docs/LICENSE $pkgdir/usr/share/licenses/${pkgname}/LICENSE
-
-  # FS#28203
-  sed -i 's|KEYCODE_2_PAD|KEYCODE_2PAD|' $pkgdir/usr/share/sdlmame/ctrlr/*.cfg
-  sed -i 's|KEYCODE_4_PAD|KEYCODE_4PAD|' $pkgdir/usr/share/sdlmame/ctrlr/*.cfg
-  sed -i 's|KEYCODE_6_PAD|KEYCODE_6PAD|' $pkgdir/usr/share/sdlmame/ctrlr/*.cfg
-  sed -i 's|KEYCODE_8_PAD|KEYCODE_8PAD|' $pkgdir/usr/share/sdlmame/ctrlr/*.cfg
-
-  find $pkgdir -type f -exec strip {} \;
-
-  # documentation
-  install -dm0755 $pkgdir/usr/share/doc
-  cp -a docs $pkgdir/usr/share/doc/$pkgname
-}

Copied: sdlmame/repos/community-x86_64/PKGBUILD (from rev 197618, 
sdlmame/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD                           (rev 0)
+++ community-x86_64/PKGBUILD   2016-12-01 16:24:24 UTC (rev 197619)
@@ -0,0 +1,95 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com>
+# Contributor: robb_force <robb_fo...@holybuffalo.net>
+# Maintainer: JJDaNiMoTh <jjdanim...@gmail.com>
+
+pkgname=sdlmame
+pkgver=0.180
+pkgrel=1
+pkgdesc="A port of the popular Multiple Arcade Machine Emulator using SDL with 
OpenGL support."
+url="http://mamedev.org/";
+license=('GPL2')
+arch=('i686' 'x86_64')
+depends=('sdl2' 'libxinerama' 'sdl2_ttf' 'alsa-lib' 'qt5-base')
+makedepends=('unzip' 'nasm' 'mesa' 'glu' 'wget' 'python2')
+install=sdlmame.install
+source=("https://github.com/mamedev/mame/releases/download/mame${pkgver/./}/mame${pkgver/./}s.zip";
+       "sdlmame.sh"
+       "extras.tar.gz"
+       ${_patches})
+sha256sums=('2526e3c97dc35e540f01db4dbcf81ff469f02f6e5a463bf78ae0738dd26674d4'
+            '06e7f5dca2255a16b3336a6d2b9af8276a8d8c672635aed83e9e8f636db3cef7'
+            '5ba55ce8c33743207a12a7509efdf13dd98f5d87fa12f0e471ea523d3ae4f4ac')
+
+prepare() {
+  cd "$srcdir"/
+  unzip mame.zip || true
+}
+
+build() {
+  cd "$srcdir"
+  make \
+    NOWERROR=1 \
+    OPTIMIZE=2 \
+    PYTHON_EXECUTABLE=/usr/bin/python2 \
+    TOOLS=1 \
+    ARCHOPTS=-flifetime-dse=1 \
+    -j1
+}
+
+package() {
+  cd "$srcdir"
+  # Install the sdlmame script
+  install -Dm755 "$srcdir"/${pkgname}.sh "$pkgdir"/usr/bin/${pkgname}
+
+  # Install the applications and the UI font in /usr/share
+  install -Dm755 mame "$pkgdir"/usr/lib/${pkgname}/${pkgname} || \
+  install -Dm755 mame64 "$pkgdir"/usr/lib/${pkgname}/${pkgname}
+
+  install -m755 chdman "$pkgdir"/usr/lib/${pkgname}/chdman
+  install -m755 jedutil "$pkgdir"/usr/lib/${pkgname}/jedutil
+  install -m755 regrep "$pkgdir"/usr/lib/${pkgname}/regrep
+  install -m755 romcmp "$pkgdir"/usr/lib/${pkgname}/romcmp
+#  install -m755 testkeys "$pkgdir"/usr/lib/${pkgname}/testkeys
+  install -m755 src2html "$pkgdir"/usr/lib/${pkgname}/src2html
+  install -m755 srcclean "$pkgdir"/usr/lib/${pkgname}/srcclean
+  install -m755 ldverify "$pkgdir"/usr/lib/${pkgname}/ldverify
+  install -m755 ldresample "$pkgdir"/usr/lib/${pkgname}/ldresample
+
+  # ln binaries
+  install -dm755 "$pkgdir"/usr/share/${pkgname}
+  for i in $pkgname chdman jedutil regrep romcmp testkeys src2html srcclean 
ldverify ldresample; do
+    ln -s /usr/lib/$pkgname/$i "$pkgdir"/usr/share/$pkgname/$i
+  done
+
+  # Install the extra bits
+  install -d "$pkgdir"/usr/share/${pkgname}/{artwork,ctrlr,hash,keymaps,shader}
+  install -d "$pkgdir"/usr/share/man/man1
+  install -d "$pkgdir"/usr/share/man/man6
+  install -m644 src/osd/modules/opengl/shader/glsl*.*h 
"$pkgdir"/usr/share/${pkgname}/shader/
+#  install -m644 src/osd/sdl/man/*.1* "$pkgdir"/usr/share/man/man1/
+#  install -m644 src/osd/sdl/man/*.6* "$pkgdir"/usr/share/man/man6/
+
+  cp -a "$srcdir"/artwork/* "$pkgdir"/usr/share/${pkgname}/artwork/
+  install -m644 "$srcdir"/ctrlr/* "$pkgdir"/usr/share/${pkgname}/ctrlr/
+  install -m644 keymaps/* "$pkgdir"/usr/share/${pkgname}/keymaps/
+  install -m644 hash/* "$pkgdir"/usr/share/${pkgname}/hash/
+  cp -a bgfx "$pkgdir"/usr/share/${pkgname}/bgfx
+  cp -a plugins "$pkgdir"/usr/share/${pkgname}/plugins
+  cp -a language "$pkgdir"/usr/share/${pkgname}/language
+
+  # Include the license
+  install -Dm644 docs/LICENSE "$pkgdir"/usr/share/licenses/${pkgname}/LICENSE
+
+  # FS#28203
+  sed -i 's|KEYCODE_2_PAD|KEYCODE_2PAD|' 
"$pkgdir"/usr/share/sdlmame/ctrlr/*.cfg
+  sed -i 's|KEYCODE_4_PAD|KEYCODE_4PAD|' 
"$pkgdir"/usr/share/sdlmame/ctrlr/*.cfg
+  sed -i 's|KEYCODE_6_PAD|KEYCODE_6PAD|' 
"$pkgdir"/usr/share/sdlmame/ctrlr/*.cfg
+  sed -i 's|KEYCODE_8_PAD|KEYCODE_8PAD|' 
"$pkgdir"/usr/share/sdlmame/ctrlr/*.cfg
+
+  find "$pkgdir" -type f -exec strip {} \;
+
+  # documentation
+  install -dm0755 "$pkgdir"/usr/share/doc
+  cp -a docs "$pkgdir"/usr/share/doc/$pkgname
+}

Deleted: community-x86_64/extras.tar.gz
===================================================================
(Binary files differ)

Copied: sdlmame/repos/community-x86_64/extras.tar.gz (from rev 197618, 
sdlmame/trunk/extras.tar.gz)
===================================================================
(Binary files differ)

Deleted: community-x86_64/sdlmame.install
===================================================================
--- community-x86_64/sdlmame.install    2016-12-01 16:23:59 UTC (rev 197618)
+++ community-x86_64/sdlmame.install    2016-12-01 16:24:24 UTC (rev 197619)
@@ -1,8 +0,0 @@
-post_install()
-{
-  echo " SDLMAME and the additional MAME utilities have been installed"
-  echo " in /usr/share/sdlmame However, SDLMAME can be run by"
-  echo " typing sdlmame and it's options. Try running SDLMAME with"
-  echo " these options:"
-  echo " sdlmame <rom> -nowindow -noswitchres"
-}

Copied: sdlmame/repos/community-x86_64/sdlmame.install (from rev 197618, 
sdlmame/trunk/sdlmame.install)
===================================================================
--- community-x86_64/sdlmame.install                            (rev 0)
+++ community-x86_64/sdlmame.install    2016-12-01 16:24:24 UTC (rev 197619)
@@ -0,0 +1,8 @@
+post_install()
+{
+  echo " SDLMAME and the additional MAME utilities have been installed"
+  echo " in /usr/share/sdlmame However, SDLMAME can be run by"
+  echo " typing sdlmame and it's options. Try running SDLMAME with"
+  echo " these options:"
+  echo " sdlmame <rom> -nowindow -noswitchres"
+}

Deleted: community-x86_64/sdlmame.sh
===================================================================
--- community-x86_64/sdlmame.sh 2016-12-01 16:23:59 UTC (rev 197618)
+++ community-x86_64/sdlmame.sh 2016-12-01 16:24:24 UTC (rev 197619)
@@ -1,56 +0,0 @@
-#!/bin/sh
-
-# Create a variable equal to $HOME that will be used later in the ini creation
-home=('$HOME')
-
-if [ "$1" != "" ] && [ "$1" = "--newini" ]; then
-  echo "Rebuilding the ini file at $HOME/.mame/mame.ini"
-  echo "Modify this file for permanent changes to your SDLMAME"
-  echo "options and paths before running SDLMAME again."
-  cd $HOME/.mame
-  if [ -e mame.ini ]; then
-    echo "Your old ini file has been renamed to mameini.bak"
-    mv mame.ini mameini.bak
-  fi
-  /usr/share/sdlmame/sdlmame \
-    -artpath "$home/.mame/artwork;artwork" \
-    -ctrlrpath "$home/.mame/ctrlr;ctrlr" \
-    -inipath $home/.mame/ini \
-    -rompath $home/.mame/roms \
-    -samplepath $home/.mame/samples \
-    -cfg_directory $home/.mame/cfg \
-    -comment_directory $home/.mame/comments \
-    -diff_directory $home/.mame/diff \
-    -input_directory $home/.mame/inp \
-    -nvram_directory $home/.mame/nvram \
-    -snapshot_directory $home/.mame/snap \
-    -state_directory $home/.mame/sta \
-    -video opengl \
-    -createconfig
-elif [ ! -e $HOME/.mame ]; then
-  echo "Running SDLMAME for the first time..."
-  echo "Creating an ini file for SDLMAME at $HOME/.mame/mame.ini"
-  echo "Modify this file for permanent changes to your SDLMAME"
-  echo "options and paths before running SDLMAME again."
-  mkdir $HOME/.mame
-  mkdir 
$HOME/.mame/{artwork,cfg,comments,ctrlr,diff,ini,inp,nvram,samples,snap,sta,roms}
-  cd $HOME/.mame
-  /usr/share/sdlmame/sdlmame \
-    -artpath "$home/.mame/artwork;artwork" \
-    -ctrlrpath "$home/.mame/ctrlr;ctrlr" \
-    -inipath $home/.mame/ini \
-    -rompath $home/.mame/roms \
-    -samplepath $home/.mame/samples \
-    -cfg_directory $home/.mame/cfg \
-    -comment_directory $home/.mame/comments \
-    -diff_directory $home/.mame/diff \
-    -input_directory $home/.mame/inp \
-    -nvram_directory $home/.mame/nvram \
-    -snapshot_directory $home/.mame/snap \
-    -state_directory $home/.mame/sta \
-    -video opengl \
-    -createconfig
-else
-  cd /usr/share/sdlmame
-  ./sdlmame "$@"
-fi

Copied: sdlmame/repos/community-x86_64/sdlmame.sh (from rev 197618, 
sdlmame/trunk/sdlmame.sh)
===================================================================
--- community-x86_64/sdlmame.sh                         (rev 0)
+++ community-x86_64/sdlmame.sh 2016-12-01 16:24:24 UTC (rev 197619)
@@ -0,0 +1,56 @@
+#!/bin/sh
+
+# Create a variable equal to $HOME that will be used later in the ini creation
+home=('$HOME')
+
+if [ "$1" != "" ] && [ "$1" = "--newini" ]; then
+  echo "Rebuilding the ini file at $HOME/.mame/mame.ini"
+  echo "Modify this file for permanent changes to your SDLMAME"
+  echo "options and paths before running SDLMAME again."
+  cd $HOME/.mame
+  if [ -e mame.ini ]; then
+    echo "Your old ini file has been renamed to mameini.bak"
+    mv mame.ini mameini.bak
+  fi
+  /usr/share/sdlmame/sdlmame \
+    -artpath "$home/.mame/artwork;artwork" \
+    -ctrlrpath "$home/.mame/ctrlr;ctrlr" \
+    -inipath $home/.mame/ini \
+    -rompath $home/.mame/roms \
+    -samplepath $home/.mame/samples \
+    -cfg_directory $home/.mame/cfg \
+    -comment_directory $home/.mame/comments \
+    -diff_directory $home/.mame/diff \
+    -input_directory $home/.mame/inp \
+    -nvram_directory $home/.mame/nvram \
+    -snapshot_directory $home/.mame/snap \
+    -state_directory $home/.mame/sta \
+    -video opengl \
+    -createconfig
+elif [ ! -e $HOME/.mame ]; then
+  echo "Running SDLMAME for the first time..."
+  echo "Creating an ini file for SDLMAME at $HOME/.mame/mame.ini"
+  echo "Modify this file for permanent changes to your SDLMAME"
+  echo "options and paths before running SDLMAME again."
+  mkdir $HOME/.mame
+  mkdir 
$HOME/.mame/{artwork,cfg,comments,ctrlr,diff,ini,inp,nvram,samples,snap,sta,roms}
+  cd $HOME/.mame
+  /usr/share/sdlmame/sdlmame \
+    -artpath "$home/.mame/artwork;artwork" \
+    -ctrlrpath "$home/.mame/ctrlr;ctrlr" \
+    -inipath $home/.mame/ini \
+    -rompath $home/.mame/roms \
+    -samplepath $home/.mame/samples \
+    -cfg_directory $home/.mame/cfg \
+    -comment_directory $home/.mame/comments \
+    -diff_directory $home/.mame/diff \
+    -input_directory $home/.mame/inp \
+    -nvram_directory $home/.mame/nvram \
+    -snapshot_directory $home/.mame/snap \
+    -state_directory $home/.mame/sta \
+    -video opengl \
+    -createconfig
+else
+  cd /usr/share/sdlmame
+  ./sdlmame "$@"
+fi

Reply via email to