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

Sergej Pupykin spupykin at nymeria.archlinux.org
Thu May 30 10:15:36 UTC 2013


    Date: Thursday, May 30, 2013 @ 12:15:36
  Author: spupykin
Revision: 91963

archrelease: copy trunk to community-x86_64

Added:
  qcad/repos/community-x86_64/PKGBUILD
    (from rev 91962, qcad/trunk/PKGBUILD)
  qcad/repos/community-x86_64/QCad.desktop
    (from rev 91962, qcad/trunk/QCad.desktop)
Deleted:
  qcad/repos/community-x86_64/PKGBUILD
  qcad/repos/community-x86_64/QCad.desktop

--------------+
 PKGBUILD     |  137 ++++++++++++++++++++++++++++-----------------------------
 QCad.desktop |   18 +++----
 2 files changed, 77 insertions(+), 78 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-30 10:15:26 UTC (rev 91962)
+++ PKGBUILD	2013-05-30 10:15:36 UTC (rev 91963)
@@ -1,69 +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.0.14.0
-pkgrel=1
-pkgdesc="A 2D CAD package based upon Qt"
-arch=('i686' 'x86_64')
-url="http://www.ribbonsoft.com/qcad.html"
-license=('GPL2')
-depends=('qtwebkit')
-makedepends=('glu')
-options=(libtool)
-#source=(https://github.com/qcad/qcad/archive/v${pkgver}.zip
-source=(http://cl.ly/1u1Y3H290M1S/download/qcad-v${pkgver}.zip
-        QCad.desktop)
-md5sums=('6f52fe016e915850ba942fa760909d4c'
-         '8c4288986b78b14a813b005e81b6ba53')
-
-prepare() {
-  cd ${srcdir}
-
-  sed -i '1,1i#include <unistd.h>' src/core/{RLocalPeer,RS}.cpp
-  sed -i '1,1i#include <sys/sysinfo.h>' src/core/{RScriptHandler,RS}.cpp
-}
-
-build() {
-  cd ${srcdir}
-
-  qmake-qt4
-  make PREFIX=/usr CXX="g++ -fpermissive"
-}
-
-package() {
-  cd ${srcdir}
-
-  # remove project files
-  find . \( -name '*.pri' -or -name '.pro' -or -name '*.ts' \) -delete
-  find . \( -name 'Makefile' -name '.gitignore' \) -delete
-
-  install -dm755 ${pkgdir}/usr/share/{qcad,pixmaps,applications}
-  cp -r examples fonts libraries patterns plugins scripts ts ${pkgdir}/usr/share/qcad
-  cp release/* ${pkgdir}/usr/share/qcad
-
-  install -m755 qcad ${pkgdir}/usr/share/qcad/qcad
-  install -m755 readme.txt ${pkgdir}/usr/share/qcad/readme.txt
-
-  # qtwebkit
-  ln -s /usr/lib/qt4/plugins/designer/libqwebview.so ${pkgdir}/usr/share/qcad/plugins/designer/libqwebview.so
-  # qt
-  for sofiles in /usr/lib/qt4/plugins/imageformats/*.so
-  do
-    ln -s ${sofiles} ${pkgdir}/usr/share/qcad/plugins/imageformats/${sofiles##/*/}
-  done
-  for sofiles in /usr/lib/qt4/plugins/sqldrivers/*.so
-  do
-    ln -s ${sofiles} ${pkgdir}/usr/share/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\ncd /usr/share/qcad\nexec ./qcad' >$pkgdir/usr/bin/qcad
-  chmod 0755 $pkgdir/usr/bin/qcad
-}

Copied: qcad/repos/community-x86_64/PKGBUILD (from rev 91962, qcad/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2013-05-30 10:15:36 UTC (rev 91963)
@@ -0,0 +1,68 @@
+# $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.0.14.0
+pkgrel=1
+pkgdesc="A 2D CAD package based upon Qt"
+arch=('i686' 'x86_64')
+url="http://www.ribbonsoft.com/qcad.html"
+license=('GPL2')
+depends=('qtwebkit')
+makedepends=('glu')
+options=(libtool)
+source=($pkgname-$pkgver.zip::https://github.com/qcad/qcad/archive/v${pkgver}.zip
+        QCad.desktop)
+md5sums=('2c460838235a95a4d969e508a75b8206'
+         '8c4288986b78b14a813b005e81b6ba53')
+
+prepare() {
+  cd ${srcdir}/qcad-$pkgver
+
+  sed -i '1,1i#include <unistd.h>' src/core/{RLocalPeer,RS}.cpp
+  sed -i '1,1i#include <sys/sysinfo.h>' src/core/{RScriptHandler,RS}.cpp
+}
+
+build() {
+  cd ${srcdir}/qcad-$pkgver
+
+  qmake-qt4
+  make PREFIX=/usr CXX="g++ -fpermissive"
+}
+
+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/share/{qcad,pixmaps,applications}
+  cp -r examples fonts libraries patterns plugins scripts ts ${pkgdir}/usr/share/qcad
+  cp release/* ${pkgdir}/usr/share/qcad
+
+  install -m755 qcad ${pkgdir}/usr/share/qcad/qcad
+  install -m755 readme.txt ${pkgdir}/usr/share/qcad/readme.txt
+
+  # qtwebkit
+  ln -s /usr/lib/qt4/plugins/designer/libqwebview.so ${pkgdir}/usr/share/qcad/plugins/designer/libqwebview.so
+  # qt
+  for sofiles in /usr/lib/qt4/plugins/imageformats/*.so
+  do
+    ln -s ${sofiles} ${pkgdir}/usr/share/qcad/plugins/imageformats/${sofiles##/*/}
+  done
+  for sofiles in /usr/lib/qt4/plugins/sqldrivers/*.so
+  do
+    ln -s ${sofiles} ${pkgdir}/usr/share/qcad/plugins/sqldrivers/${sofiles##/*/}
+  done
+
+  install -Dm644 scripts/qcad_icon.png ${pkgdir}/usr/share/pixmaps/qcad_icon.png
+  install -Dm644 $srcdir/QCad.desktop ${pkgdir}/usr/share/applications/QCad.desktop
+
+  install -dm0755 $pkgdir/usr/bin
+  echo -e '#!/bin/sh\ncd /usr/share/qcad\nexec ./qcad' >$pkgdir/usr/bin/qcad
+  chmod 0755 $pkgdir/usr/bin/qcad
+}

Deleted: QCad.desktop
===================================================================
--- QCad.desktop	2013-05-30 10:15:26 UTC (rev 91962)
+++ QCad.desktop	2013-05-30 10:15:36 UTC (rev 91963)
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-Exec=/usr/share/qcad/qcad
-Icon=/usr/share/pixmaps/qcad_icon.png
-Name=QCad
-StartupNotify=true
-Terminal=false
-Type=Application
-Categories=Application;Office;

Copied: qcad/repos/community-x86_64/QCad.desktop (from rev 91962, qcad/trunk/QCad.desktop)
===================================================================
--- QCad.desktop	                        (rev 0)
+++ QCad.desktop	2013-05-30 10:15:36 UTC (rev 91963)
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Encoding=UTF-8
+Exec=/usr/share/qcad/qcad
+Icon=/usr/share/pixmaps/qcad_icon.png
+Name=QCad
+StartupNotify=true
+Terminal=false
+Type=Application
+Categories=Application;Office;




More information about the arch-commits mailing list