[arch-commits] Commit in qcad/trunk (PKGBUILD)

Sergej Pupykin spupykin at archlinux.org
Mon Nov 24 17:25:12 UTC 2014


    Date: Monday, November 24, 2014 @ 18:25:12
  Author: spupykin
Revision: 123069

upgpkg: qcad 3.7.2.0-1

upd

Modified:
  qcad/trunk/PKGBUILD

----------+
 PKGBUILD |   22 +++++++---------------
 1 file changed, 7 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-11-24 17:25:09 UTC (rev 123068)
+++ PKGBUILD	2014-11-24 17:25:12 UTC (rev 123069)
@@ -5,7 +5,7 @@
 # Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
 
 pkgname=qcad
-pkgver=3.7.0.1
+pkgver=3.7.2.0
 pkgrel=1
 pkgdesc="A 2D CAD package based upon Qt"
 arch=('i686' 'x86_64')
@@ -12,33 +12,25 @@
 url="http://www.qcad.org"
 license=('GPL3')
 depends=('qtwebkit')
-makedepends=('glu')
+makedepends=('glu' 'gdb')
 options=('libtool')
-source=($pkgname-$pkgver.tar.gz::https://github.com/qcad/qcad/archive/vv${pkgver}.tar.gz
+source=($pkgname-$pkgver.tar.gz::https://github.com/qcad/qcad/archive/v${pkgver}.tar.gz
         QCad.desktop)
-md5sums=('2838e7c47257621c4ef937f564671819'
+md5sums=('d89cd809fe80b6f505507089ec4f176f'
          '84f189dd152e7614a1265659dac6222d')
 
 prepare() {
-  cd ${srcdir}/qcad-vv$pkgver
-#  sed -i '1,1i#include <stdint.h>' src/core/RThread.cpp
-#  sed -i '1,1i#include <string.h>' \
-#    src/3rdparty/spatialindexnavel/src/storagemanager/*.cc \
-#    src/3rdparty/spatialindexnavel/src/mvrtree/*.cc \
-#    src/3rdparty/spatialindexnavel/src/tprtree/*.cc \
-#    src/3rdparty/spatialindexnavel/src/spatialindex/*.cc
-#  (cd src/3rdparty && cp -a qt-labs-qtscriptgenerator-4.8.5 qt-labs-qtscriptgenerator-4.8.6)
-#  (cd src/3rdparty/qt-labs-qtscriptgenerator-4.8.6/ && mv qt-labs-qtscriptgenerator-4.8.5.pro qt-labs-qtscriptgenerator-4.8.6.pro)
+  cd ${srcdir}/qcad-$pkgver
 }
 
 build() {
-  cd ${srcdir}/qcad-vv$pkgver
+  cd ${srcdir}/qcad-$pkgver
   qmake-qt4 -r
   make all -j1
 }
 
 package() {
-  cd ${srcdir}/qcad-vv$pkgver
+  cd ${srcdir}/qcad-$pkgver
 
   # remove project files
   find . \( -name '*.pri' -or -name '.pro' -or -name '*.ts' \) -delete


More information about the arch-commits mailing list