[arch-commits] Commit in qtspim/repos (4 files)

Jan Steffens heftig at archlinux.org
Thu Sep 17 14:34:56 UTC 2015


    Date: Thursday, September 17, 2015 @ 16:34:56
  Author: heftig
Revision: 140402

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

Added:
  qtspim/repos/community-i686/PKGBUILD
    (from rev 140401, qtspim/trunk/PKGBUILD)
  qtspim/repos/community-x86_64/PKGBUILD
    (from rev 140401, qtspim/trunk/PKGBUILD)
Deleted:
  qtspim/repos/community-i686/PKGBUILD
  qtspim/repos/community-x86_64/PKGBUILD

---------------------------+
 /PKGBUILD                 |   96 ++++++++++++++++++++++++++++++++++++++++++++
 community-i686/PKGBUILD   |   65 -----------------------------
 community-x86_64/PKGBUILD |   65 -----------------------------
 3 files changed, 96 insertions(+), 130 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2015-09-17 14:33:49 UTC (rev 140401)
+++ community-i686/PKGBUILD	2015-09-17 14:34:56 UTC (rev 140402)
@@ -1,65 +0,0 @@
-# $Id$
-# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
-# Contributor: Lukas Jirkovsky <l.jirkovsky at gmail.com>
-
-pkgname=qtspim
-pkgver=9.1.13
-pkgrel=1
-pkgdesc="New user interface for spim, a MIPS simulator."
-arch=('i686' 'x86_64')
-url="http://spimsimulator.sourceforge.net/"
-license=('BSD')
-depends=('qt4')
-makedepends=('subversion')
-
-__svntrunk="https://spimsimulator.svn.sourceforge.net/svnroot/spimsimulator"
-__svnmod=('QtSpim' 'CPU' 'Documentation' 'Setup')
-__svnrev=637
-
-build() {
-  cd "$srcdir"
-  msg "Connecting to SVN server...."
-
-  for i in "${__svnmod[@]}"; do
-    if [[ -d "$i/.svn" ]]; then
-      (cd "$i" && svn up -r "$__svnrev")
-    else
-      svn co "$__svntrunk/$i" --config-dir ./ -r "$__svnrev" "$i"
-    fi
-  done
-
-  msg "SVN checkout done or server timeout"
-  msg "Starting build..."
-
-  rm -rf "$srcdir/build"
-  mkdir "$srcdir/build"
-  for i in "${__svnmod[@]}"; do
-    cp -r "$srcdir/$i" "$srcdir/build"
-  done
-  cd "$srcdir/build/QtSpim"
-
-  qmake-qt4
-  sed -i 's/qcollectiongenerator/qcollectiongenerator-qt4/' Makefile
-  make
-}
-
-package() {
-  cd "$srcdir/build/QtSpim"
-
-  install -Dm755 QtSpim "$pkgdir/usr/bin/qtspim"
-
-  install -dm755 "$pkgdir/usr/share/qtspim"
-  cp -r help "$pkgdir/usr/share/qtspim"
-  rm -rf "$pkgdir/usr/share/qtspim/help/.svn"
-
-  cd "$srcdir/build"
-
-  install -Dm644 Documentation/spim.man "$pkgdir/usr/share/man/man1/qtspim.1"
-  install -Dm644 Setup/qtspim_debian_deployment/qtspim.desktop \
-    "$pkgdir/usr/share/applications/qtspim.desktop"
-  install -Dm644 Setup/qtspim_debian_deployment/copyright \
-    "$pkgdir/usr/share/licenses/$pkgname/copyright"
-  install -Dm644 Setup/NewIcon48x48.png "$pkgdir/usr/share/qtspim/qtspim.png"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: qtspim/repos/community-i686/PKGBUILD (from rev 140401, qtspim/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2015-09-17 14:34:56 UTC (rev 140402)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
+# Contributor: Lukas Jirkovsky <l.jirkovsky at gmail.com>
+
+pkgname=qtspim
+pkgver=9.1.16
+pkgrel=1
+pkgdesc="New user interface for spim, a MIPS simulator."
+arch=('i686' 'x86_64')
+url="http://spimsimulator.sourceforge.net/"
+license=('BSD')
+depends=('qt4')
+makedepends=('subversion' 'icu')
+source=("spimsimulator::svn://svn.code.sf.net/p/spimsimulator/code/#revision=673")
+sha256sums=('SKIP')
+
+prepare() {
+  cd spimsimulator/QtSpim
+  sed -r \
+    -e 's/q([a-z]+)generator/q\1generator-qt4/' \
+    -e 's/-Wno-write-strings/& -fpermissive/' \
+    -i QtSpim.pro
+  rm parser_yacc.* scanner_lex.*
+}
+
+build() {
+  cd spimsimulator/QtSpim
+  qmake-qt4
+  make -j1
+}
+
+package() {
+  cd spimsimulator
+
+  install -D QtSpim/QtSpim "$pkgdir/usr/bin/qtspim"
+
+  install -d "$pkgdir/usr/share/qtspim"
+  cp -r QtSpim/help "$pkgdir/usr/share/qtspim"
+
+  install -Dm644 Documentation/spim.man "$pkgdir/usr/share/man/man1/qtspim.1"
+  install -Dm644 Setup/qtspim_debian_deployment/qtspim.desktop \
+    "$pkgdir/usr/share/applications/qtspim.desktop"
+  install -Dm644 Setup/qtspim_debian_deployment/copyright \
+    "$pkgdir/usr/share/licenses/$pkgname/copyright"
+  install -Dm644 Setup/NewIcon48x48.png "$pkgdir/usr/share/qtspim/qtspim.png"
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2015-09-17 14:33:49 UTC (rev 140401)
+++ community-x86_64/PKGBUILD	2015-09-17 14:34:56 UTC (rev 140402)
@@ -1,65 +0,0 @@
-# $Id$
-# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
-# Contributor: Lukas Jirkovsky <l.jirkovsky at gmail.com>
-
-pkgname=qtspim
-pkgver=9.1.13
-pkgrel=1
-pkgdesc="New user interface for spim, a MIPS simulator."
-arch=('i686' 'x86_64')
-url="http://spimsimulator.sourceforge.net/"
-license=('BSD')
-depends=('qt4')
-makedepends=('subversion')
-
-__svntrunk="https://spimsimulator.svn.sourceforge.net/svnroot/spimsimulator"
-__svnmod=('QtSpim' 'CPU' 'Documentation' 'Setup')
-__svnrev=637
-
-build() {
-  cd "$srcdir"
-  msg "Connecting to SVN server...."
-
-  for i in "${__svnmod[@]}"; do
-    if [[ -d "$i/.svn" ]]; then
-      (cd "$i" && svn up -r "$__svnrev")
-    else
-      svn co "$__svntrunk/$i" --config-dir ./ -r "$__svnrev" "$i"
-    fi
-  done
-
-  msg "SVN checkout done or server timeout"
-  msg "Starting build..."
-
-  rm -rf "$srcdir/build"
-  mkdir "$srcdir/build"
-  for i in "${__svnmod[@]}"; do
-    cp -r "$srcdir/$i" "$srcdir/build"
-  done
-  cd "$srcdir/build/QtSpim"
-
-  qmake-qt4
-  sed -i 's/qcollectiongenerator/qcollectiongenerator-qt4/' Makefile
-  make
-}
-
-package() {
-  cd "$srcdir/build/QtSpim"
-
-  install -Dm755 QtSpim "$pkgdir/usr/bin/qtspim"
-
-  install -dm755 "$pkgdir/usr/share/qtspim"
-  cp -r help "$pkgdir/usr/share/qtspim"
-  rm -rf "$pkgdir/usr/share/qtspim/help/.svn"
-
-  cd "$srcdir/build"
-
-  install -Dm644 Documentation/spim.man "$pkgdir/usr/share/man/man1/qtspim.1"
-  install -Dm644 Setup/qtspim_debian_deployment/qtspim.desktop \
-    "$pkgdir/usr/share/applications/qtspim.desktop"
-  install -Dm644 Setup/qtspim_debian_deployment/copyright \
-    "$pkgdir/usr/share/licenses/$pkgname/copyright"
-  install -Dm644 Setup/NewIcon48x48.png "$pkgdir/usr/share/qtspim/qtspim.png"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: qtspim/repos/community-x86_64/PKGBUILD (from rev 140401, qtspim/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2015-09-17 14:34:56 UTC (rev 140402)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
+# Contributor: Lukas Jirkovsky <l.jirkovsky at gmail.com>
+
+pkgname=qtspim
+pkgver=9.1.16
+pkgrel=1
+pkgdesc="New user interface for spim, a MIPS simulator."
+arch=('i686' 'x86_64')
+url="http://spimsimulator.sourceforge.net/"
+license=('BSD')
+depends=('qt4')
+makedepends=('subversion' 'icu')
+source=("spimsimulator::svn://svn.code.sf.net/p/spimsimulator/code/#revision=673")
+sha256sums=('SKIP')
+
+prepare() {
+  cd spimsimulator/QtSpim
+  sed -r \
+    -e 's/q([a-z]+)generator/q\1generator-qt4/' \
+    -e 's/-Wno-write-strings/& -fpermissive/' \
+    -i QtSpim.pro
+  rm parser_yacc.* scanner_lex.*
+}
+
+build() {
+  cd spimsimulator/QtSpim
+  qmake-qt4
+  make -j1
+}
+
+package() {
+  cd spimsimulator
+
+  install -D QtSpim/QtSpim "$pkgdir/usr/bin/qtspim"
+
+  install -d "$pkgdir/usr/share/qtspim"
+  cp -r QtSpim/help "$pkgdir/usr/share/qtspim"
+
+  install -Dm644 Documentation/spim.man "$pkgdir/usr/share/man/man1/qtspim.1"
+  install -Dm644 Setup/qtspim_debian_deployment/qtspim.desktop \
+    "$pkgdir/usr/share/applications/qtspim.desktop"
+  install -Dm644 Setup/qtspim_debian_deployment/copyright \
+    "$pkgdir/usr/share/licenses/$pkgname/copyright"
+  install -Dm644 Setup/NewIcon48x48.png "$pkgdir/usr/share/qtspim/qtspim.png"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list