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

Sergej Pupykin spupykin at archlinux.org
Fri May 26 10:53:29 UTC 2017


    Date: Friday, May 26, 2017 @ 10:53:29
  Author: spupykin
Revision: 230451

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

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

---------------------------+
 /PKGBUILD                 |  120 ++++++++++++++++++++++++++++++++++++++++++++
 community-i686/PKGBUILD   |   63 -----------------------
 community-x86_64/PKGBUILD |   63 -----------------------
 3 files changed, 120 insertions(+), 126 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2017-05-26 10:53:04 UTC (rev 230450)
+++ community-i686/PKGBUILD	2017-05-26 10:53:29 UTC (rev 230451)
@@ -1,63 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
-# Contributor: Giovanni Scafora <linuxmania at gmail.com>
-# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
-
-pkgname=qcad
-pkgver=3.16.5.0
-pkgrel=1
-pkgdesc="A 2D CAD package based upon Qt"
-arch=('i686' 'x86_64')
-url="http://www.qcad.org"
-license=('GPL3')
-depends=('qt4')
-makedepends=('glu')
-source=($pkgname-$pkgver.tar.gz::https://github.com/qcad/qcad/archive/v${pkgver}.tar.gz)
-sha256sums=('041b77fc9eb72ee515b32a5c8998735c52d79d39e0caaacaeeec2982694f9237')
-
-prepare() {
-  cd "$srcdir"/qcad-$pkgver
-
-  # remove unused qtwebkit dependency
-  sed -i '/QT += webkit/d' shared.pri
-  sed -i '/webkit/d' src/3rdparty/qt-labs-qtscriptgenerator-4.*/qtbindings/qtbindings.pro
-}
-
-build() {
-  cd "$srcdir"/qcad-$pkgver
-  qmake-qt4 qcad.pro
-  make
-}
-
-package() {
-  cd "$srcdir"/qcad-$pkgver
-
-  # remove project files
-  find . \( -name '*.pri' -or -name '.pro' -or -name '*.ts' \) -delete
-  find . \( -name 'Makefile' -name '.gitignore' \) -delete
-
-  install -dm755 "$pkgdir"/usr/lib/qcad
-  cp -r examples fonts libraries linetypes patterns plugins scripts ts "$pkgdir"/usr/lib/qcad
-  cp release/* "$pkgdir"/usr/lib/qcad
-
-  install -m755 readme.txt "$pkgdir"/usr/lib/qcad/readme.txt
-
-  # qt
-  for sofiles in /usr/lib/qt4/plugins/imageformats/*.so
-  do
-    ln -sf ${sofiles} "$pkgdir"/usr/lib/qcad/plugins/imageformats/${sofiles##/*/}
-  done
-  for sofiles in /usr/lib/qt4/plugins/sqldrivers/*.so
-  do
-    ln -sf ${sofiles} "$pkgdir"/usr/lib/qcad/plugins/sqldrivers/${sofiles##/*/}
-  done
-
-  install -Dm644 scripts/qcad_icon.png "$pkgdir"/usr/share/pixmaps/qcad_icon.png
-  install -Dm644 qcad.desktop "$pkgdir"/usr/share/applications/qcad.desktop
-
-  install -dm0755 "$pkgdir"/usr/bin
-  echo -e '#!/bin/sh\nLD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"/usr/lib/qcad" exec /usr/lib/qcad/qcad-bin "$@"' >"$pkgdir"/usr/bin/qcad
-
-  chmod 0755 "$pkgdir"/usr/bin/qcad
-}

Copied: qcad/repos/community-i686/PKGBUILD (from rev 230450, qcad/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2017-05-26 10:53:29 UTC (rev 230451)
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
+# Contributor: Giovanni Scafora <linuxmania at gmail.com>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+
+pkgname=qcad
+pkgver=3.17.1.1
+pkgrel=1
+pkgdesc="A 2D CAD package based upon Qt"
+arch=('i686' 'x86_64')
+url="http://www.qcad.org"
+license=('GPL3')
+depends=(qt5-script qt5-svg gcc-libs qt5-xmlpatterns)
+makedepends=(qt5-tools glu)
+source=($pkgname-$pkgver.tar.gz::https://github.com/qcad/qcad/archive/v${pkgver}.tar.gz)
+sha256sums=('ae47dd6c1191a55529a7131f619497e1db8be27d2918af46f14356fe0636aba3')
+
+prepare() {
+  cd "$srcdir"/qcad-$pkgver
+  rm ../*.tar.gz
+}
+
+build() {
+  cd "$srcdir"/qcad-$pkgver
+  qmake-qt5 qcad.pro
+  make
+}
+
+package() {
+  cd "$srcdir"/qcad-$pkgver
+
+  # remove project files
+  find . \( -name '*.pri' -or -name '.pro' -or -name '*.ts' \) -delete
+  find . \( -name 'Makefile' -name '.gitignore' \) -delete
+
+  install -dm755 "$pkgdir"/usr/lib/qcad
+  cp -r examples fonts libraries linetypes patterns plugins scripts ts "$pkgdir"/usr/lib/qcad
+  cp release/* "$pkgdir"/usr/lib/qcad
+
+  install -m755 readme.txt "$pkgdir"/usr/lib/qcad/readme.txt
+
+  # qt
+  for sofiles in /usr/lib/qt/plugins/imageformats/*.so
+  do
+    ln -sf ${sofiles} "$pkgdir"/usr/lib/qcad/plugins/imageformats/${sofiles##/*/}
+  done
+  for sofiles in /usr/lib/qt/plugins/sqldrivers/*.so
+  do
+    ln -sf ${sofiles} "$pkgdir"/usr/lib/qcad/plugins/sqldrivers/${sofiles##/*/}
+  done
+
+  install -Dm644 scripts/qcad_icon.png "$pkgdir"/usr/share/pixmaps/qcad_icon.png
+  install -Dm644 qcad.desktop "$pkgdir"/usr/share/applications/qcad.desktop
+
+  install -dm0755 "$pkgdir"/usr/bin
+  echo -e '#!/bin/sh\nLD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"/usr/lib/qcad" exec /usr/lib/qcad/qcad-bin "$@"' >"$pkgdir"/usr/bin/qcad
+
+  chmod 0755 "$pkgdir"/usr/bin/qcad
+}

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2017-05-26 10:53:04 UTC (rev 230450)
+++ community-x86_64/PKGBUILD	2017-05-26 10:53:29 UTC (rev 230451)
@@ -1,63 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
-# Contributor: Giovanni Scafora <linuxmania at gmail.com>
-# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
-
-pkgname=qcad
-pkgver=3.16.5.0
-pkgrel=1
-pkgdesc="A 2D CAD package based upon Qt"
-arch=('i686' 'x86_64')
-url="http://www.qcad.org"
-license=('GPL3')
-depends=('qt4')
-makedepends=('glu')
-source=($pkgname-$pkgver.tar.gz::https://github.com/qcad/qcad/archive/v${pkgver}.tar.gz)
-sha256sums=('041b77fc9eb72ee515b32a5c8998735c52d79d39e0caaacaeeec2982694f9237')
-
-prepare() {
-  cd "$srcdir"/qcad-$pkgver
-
-  # remove unused qtwebkit dependency
-  sed -i '/QT += webkit/d' shared.pri
-  sed -i '/webkit/d' src/3rdparty/qt-labs-qtscriptgenerator-4.*/qtbindings/qtbindings.pro
-}
-
-build() {
-  cd "$srcdir"/qcad-$pkgver
-  qmake-qt4 qcad.pro
-  make
-}
-
-package() {
-  cd "$srcdir"/qcad-$pkgver
-
-  # remove project files
-  find . \( -name '*.pri' -or -name '.pro' -or -name '*.ts' \) -delete
-  find . \( -name 'Makefile' -name '.gitignore' \) -delete
-
-  install -dm755 "$pkgdir"/usr/lib/qcad
-  cp -r examples fonts libraries linetypes patterns plugins scripts ts "$pkgdir"/usr/lib/qcad
-  cp release/* "$pkgdir"/usr/lib/qcad
-
-  install -m755 readme.txt "$pkgdir"/usr/lib/qcad/readme.txt
-
-  # qt
-  for sofiles in /usr/lib/qt4/plugins/imageformats/*.so
-  do
-    ln -sf ${sofiles} "$pkgdir"/usr/lib/qcad/plugins/imageformats/${sofiles##/*/}
-  done
-  for sofiles in /usr/lib/qt4/plugins/sqldrivers/*.so
-  do
-    ln -sf ${sofiles} "$pkgdir"/usr/lib/qcad/plugins/sqldrivers/${sofiles##/*/}
-  done
-
-  install -Dm644 scripts/qcad_icon.png "$pkgdir"/usr/share/pixmaps/qcad_icon.png
-  install -Dm644 qcad.desktop "$pkgdir"/usr/share/applications/qcad.desktop
-
-  install -dm0755 "$pkgdir"/usr/bin
-  echo -e '#!/bin/sh\nLD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"/usr/lib/qcad" exec /usr/lib/qcad/qcad-bin "$@"' >"$pkgdir"/usr/bin/qcad
-
-  chmod 0755 "$pkgdir"/usr/bin/qcad
-}

Copied: qcad/repos/community-x86_64/PKGBUILD (from rev 230450, qcad/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2017-05-26 10:53:29 UTC (rev 230451)
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
+# Contributor: Giovanni Scafora <linuxmania at gmail.com>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+
+pkgname=qcad
+pkgver=3.17.1.1
+pkgrel=1
+pkgdesc="A 2D CAD package based upon Qt"
+arch=('i686' 'x86_64')
+url="http://www.qcad.org"
+license=('GPL3')
+depends=(qt5-script qt5-svg gcc-libs qt5-xmlpatterns)
+makedepends=(qt5-tools glu)
+source=($pkgname-$pkgver.tar.gz::https://github.com/qcad/qcad/archive/v${pkgver}.tar.gz)
+sha256sums=('ae47dd6c1191a55529a7131f619497e1db8be27d2918af46f14356fe0636aba3')
+
+prepare() {
+  cd "$srcdir"/qcad-$pkgver
+  rm ../*.tar.gz
+}
+
+build() {
+  cd "$srcdir"/qcad-$pkgver
+  qmake-qt5 qcad.pro
+  make
+}
+
+package() {
+  cd "$srcdir"/qcad-$pkgver
+
+  # remove project files
+  find . \( -name '*.pri' -or -name '.pro' -or -name '*.ts' \) -delete
+  find . \( -name 'Makefile' -name '.gitignore' \) -delete
+
+  install -dm755 "$pkgdir"/usr/lib/qcad
+  cp -r examples fonts libraries linetypes patterns plugins scripts ts "$pkgdir"/usr/lib/qcad
+  cp release/* "$pkgdir"/usr/lib/qcad
+
+  install -m755 readme.txt "$pkgdir"/usr/lib/qcad/readme.txt
+
+  # qt
+  for sofiles in /usr/lib/qt/plugins/imageformats/*.so
+  do
+    ln -sf ${sofiles} "$pkgdir"/usr/lib/qcad/plugins/imageformats/${sofiles##/*/}
+  done
+  for sofiles in /usr/lib/qt/plugins/sqldrivers/*.so
+  do
+    ln -sf ${sofiles} "$pkgdir"/usr/lib/qcad/plugins/sqldrivers/${sofiles##/*/}
+  done
+
+  install -Dm644 scripts/qcad_icon.png "$pkgdir"/usr/share/pixmaps/qcad_icon.png
+  install -Dm644 qcad.desktop "$pkgdir"/usr/share/applications/qcad.desktop
+
+  install -dm0755 "$pkgdir"/usr/bin
+  echo -e '#!/bin/sh\nLD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"/usr/lib/qcad" exec /usr/lib/qcad/qcad-bin "$@"' >"$pkgdir"/usr/bin/qcad
+
+  chmod 0755 "$pkgdir"/usr/bin/qcad
+}



More information about the arch-commits mailing list