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

2020-07-07 Thread Felix Yan via arch-commits
Date: Tuesday, July 7, 2020 @ 17:04:58
  Author: felixonmars
Revision: 659537

archrelease: copy trunk to community-staging-x86_64

Added:
  librecad/repos/community-staging-x86_64/
  librecad/repos/community-staging-x86_64/0001-fix-build-with-Qt-5.11.patch
(from rev 659533, librecad/trunk/0001-fix-build-with-Qt-5.11.patch)
  librecad/repos/community-staging-x86_64/0002-fix-build-with-Qt-5.15.patch
(from rev 659534, librecad/trunk/0002-fix-build-with-Qt-5.15.patch)
  librecad/repos/community-staging-x86_64/PKGBUILD
(from rev 659534, librecad/trunk/PKGBUILD)

---+
 0001-fix-build-with-Qt-5.11.patch |   43 +++
 0002-fix-build-with-Qt-5.15.patch |   37 +
 PKGBUILD  |   78 
 3 files changed, 158 insertions(+)

Copied: 
librecad/repos/community-staging-x86_64/0001-fix-build-with-Qt-5.11.patch (from 
rev 659533, librecad/trunk/0001-fix-build-with-Qt-5.11.patch)
===
--- community-staging-x86_64/0001-fix-build-with-Qt-5.11.patch  
(rev 0)
+++ community-staging-x86_64/0001-fix-build-with-Qt-5.11.patch  2020-07-07 
17:04:58 UTC (rev 659537)
@@ -0,0 +1,43 @@
+From 5bd5d5b1ea6781fcbc3c9c61b2059703647dc5d2 Mon Sep 17 00:00:00 2001
+From: Jiri Slaby 
+Date: Mon, 11 Jun 2018 10:44:00 +0200
+Subject: [PATCH 1/1] fix build with Qt 5.11
+
+The new Qt removed some implicit inclusions of headers. To avoid build
+errors, add explicit includes of those we use in the sources.
+
+Signed-off-by: Jiri Slaby 
+
+(cherry picked from commit 6c392e903e162b9283e88f53006e929663f2e883)
+Signed-off-by: Christian Hesse 
+---
+ librecad/src/ui/forms/qg_commandwidget.cpp | 2 ++
+ librecad/src/ui/generic/widgetcreator.cpp  | 2 ++
+ 2 files changed, 4 insertions(+)
+
+diff --git a/librecad/src/ui/forms/qg_commandwidget.cpp 
b/librecad/src/ui/forms/qg_commandwidget.cpp
+index 7cd69398..2b90d671 100644
+--- a/librecad/src/ui/forms/qg_commandwidget.cpp
 b/librecad/src/ui/forms/qg_commandwidget.cpp
+@@ -24,6 +24,8 @@
+ **
+ **/
+ #include "qg_commandwidget.h"
++
++#include 
+ #include 
+ #include 
+ 
+diff --git a/librecad/src/ui/generic/widgetcreator.cpp 
b/librecad/src/ui/generic/widgetcreator.cpp
+index ca89ab13..260d9afd 100644
+--- a/librecad/src/ui/generic/widgetcreator.cpp
 b/librecad/src/ui/generic/widgetcreator.cpp
+@@ -27,6 +27,8 @@
+ #include "widgetcreator.h"
+ #include "ui_widgetcreator.h"
+ 
++#include 
++#include 
+ #include 
+ #include 
+ #include 

Copied: 
librecad/repos/community-staging-x86_64/0002-fix-build-with-Qt-5.15.patch (from 
rev 659534, librecad/trunk/0002-fix-build-with-Qt-5.15.patch)
===
--- community-staging-x86_64/0002-fix-build-with-Qt-5.15.patch  
(rev 0)
+++ community-staging-x86_64/0002-fix-build-with-Qt-5.15.patch  2020-07-07 
17:04:58 UTC (rev 659537)
@@ -0,0 +1,37 @@
+From 81741a875847c806c05f0f3a4610e69b3c3002aa Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner 
+Date: Wed, 20 May 2020 14:12:15 +0200
+Subject: Fix build with Qt 5.15 (missing QPainterPath include)
+
+---
+ librecad/src/lib/engine/lc_splinepoints.cpp | 1 +
+ librecad/src/lib/gui/rs_painterqt.h | 1 +
+ 2 files changed, 2 insertions(+)
+
+diff --git a/librecad/src/lib/engine/lc_splinepoints.cpp 
b/librecad/src/lib/engine/lc_splinepoints.cpp
+index 5eaed81b8..e6324ec10 100644
+--- a/librecad/src/lib/engine/lc_splinepoints.cpp
 b/librecad/src/lib/engine/lc_splinepoints.cpp
+@@ -21,6 +21,7 @@ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, 
USA.
+ **/
+ 
++#include 
+ #include 
+ #include "lc_splinepoints.h"
+ 
+diff --git a/librecad/src/lib/gui/rs_painterqt.h 
b/librecad/src/lib/gui/rs_painterqt.h
+index 878753cb7..a0b432e06 100644
+--- a/librecad/src/lib/gui/rs_painterqt.h
 b/librecad/src/lib/gui/rs_painterqt.h
+@@ -29,6 +29,7 @@
+ #define RS_PAINTERQT_H
+ 
+ #include 
++#include 
+ 
+ #include "rs_painter.h"
+ #include "rs_pen.h"
+-- 
+cgit v1.2.3
+

Copied: librecad/repos/community-staging-x86_64/PKGBUILD (from rev 659534, 
librecad/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-07-07 17:04:58 UTC (rev 659537)
@@ -0,0 +1,78 @@
+# Maintainer: Christian Hesse 
+# Contributor: mickele  (librecad-git PKGBUILD)
+# Contributor: Ilmari Repo  (librecad-svn PKGBUILD)
+# Contributor: GazJ Gary James  (CADuntu 
PKGBUILD)
+
+pkgname=librecad
+pkgver=2.1.3
+pkgrel=5
+pkgdesc='A 2D CAD drawing tool based on the community edition of QCad'
+arch=('x86_

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

2017-06-26 Thread Christian Hesse
Date: Monday, June 26, 2017 @ 14:36:35
  Author: eworm
Revision: 241014

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

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

---+
 /PKGBUILD |  132 
 community-i686/PKGBUILD   |   66 --
 community-x86_64/PKGBUILD |   66 --
 3 files changed, 132 insertions(+), 132 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2017-06-26 14:36:29 UTC (rev 241013)
+++ community-i686/PKGBUILD 2017-06-26 14:36:35 UTC (rev 241014)
@@ -1,66 +0,0 @@
-# $Id$
-# Maintainer: Christian Hesse 
-# Contributor: mickele  (librecad-git PKGBUILD)
-# Contributor: Ilmari Repo  (librecad-svn PKGBUILD)
-# Contributor: GazJ Gary James  (CADuntu 
PKGBUILD)
-
-pkgname=librecad
-pkgver=2.1.3
-pkgrel=2
-pkgdesc='A 2D CAD drawing tool based on the community edition of QCad'
-arch=('i686' 'x86_64')
-url='http://www.librecad.org/'
-license=('GPL')
-depends=('qt5-base' 'qt5-svg' 'libxcb' 'muparser')
-makedepends=('boost' 'imagemagick' 'librsvg')
-conflicts=('librecad-git')
-replaces=('librecad-svn' 'caduntu' 'caduntu-svn')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/LibreCAD/LibreCAD/archive/${pkgver}.tar.gz";)
-sha256sums=('74c4ede409b13d0365c65c0cd52dba04f1049530f6df706dc905443d5e60db06')
-
-build() {
-   cd "${srcdir}/LibreCAD-${pkgver}"
-
-   # fix version string
-   sed -i "/^SCMREVISION/c SCMREVISION=\"${pkgver}\"" librecad/src/src.pro
-
-   qmake-qt5 librecad.pro
-
-   # fix include path... this is an issue with gcc 6.1.1 and qmake-qt5...
-   make qmake_all
-   sed -i '/INCPATH/s|-isystem /usr/include ||' librecad/src/Makefile
-
-   make
-}
-
-package() {
-   cd "${srcdir}/LibreCAD-${pkgver}"
-
-   # executables
-   install -D -m0755 unix/librecad "${pkgdir}/usr/bin/librecad"
-   install -D -m0755 unix/ttf2lff "${pkgdir}/usr/bin/ttf2lff"
-
-   # desktop file and man pages
-   install -D -m0644 desktop/librecad.desktop 
"${pkgdir}/usr/share/applications/librecad.desktop"
-   install -D -m0644 desktop/librecad.1 
"${pkgdir}/usr/share/man/man1/librecad.1"
-
-   # documentation
-   install -D -m0644 librecad/support/doc/README 
"${pkgdir}/usr/share/doc/librecad/index.README"
-   install -D -m0644 librecad/support/doc/index.html 
"${pkgdir}/usr/share/doc/librecad/index.html"
-   install -D -m0644 librecad/support/doc/style.css 
"${pkgdir}/usr/share/doc/librecad/style.css"
-   install -D -m0644 librecad/support/doc/img/librecadlogo.png 
"${pkgdir}/usr/share/doc/librecad/img/librecadlogo.png"
-
-   # icons
-   for SIZE in 16 24 32 48 64 96 128; do
-   convert -scale ${SIZE} \
-   desktop/graphics_icons_and_splash/Icon\ 
LibreCAD/Icon_Librecad.svg \
-   ${srcdir}/librecad.png
-   install -D -m0644 ${srcdir}/librecad.png 
"${pkgdir}/usr/share/icons/hicolor/${SIZE}x${SIZE}/apps/librecad.png"
-   done
-   install -D -m0644 desktop/graphics_icons_and_splash/Icon\ 
LibreCAD/Icon_Librecad.svg 
"${pkgdir}/usr/share/icons/hicolor/scalable/apps/librecad.svg"
-
-   # resources
-   mkdir -p "${pkgdir}/usr/share/librecad/"
-   cp -r unix/resources/{library,patterns,fonts,qm} 
"${pkgdir}/usr/share/librecad/"
-}
-

Copied: librecad/repos/community-i686/PKGBUILD (from rev 241013, 
librecad/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2017-06-26 14:36:35 UTC (rev 241014)
@@ -0,0 +1,66 @@
+# $Id$
+# Maintainer: Christian Hesse 
+# Contributor: mickele  (librecad-git PKGBUILD)
+# Contributor: Ilmari Repo  (librecad-svn PKGBUILD)
+# Contributor: GazJ Gary James  (CADuntu 
PKGBUILD)
+
+pkgname=librecad
+pkgver=2.1.3
+pkgrel=3
+pkgdesc='A 2D CAD drawing tool based on the community edition of QCad'
+arch=('i686' 'x86_64')
+url='http://www.librecad.org/'
+license=('GPL')
+depends=('qt5-base' 'qt5-svg' 'libxcb' 'muparser')
+makedepends=('qt5-tools' 'boost' 'imagemagick' 'librsvg')
+conflicts=('librecad-git')
+replaces=('librecad-svn' 'caduntu' 'caduntu-svn')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/LibreCAD/LibreCAD/archive/${pkgver}.tar.gz";)
+sha256sums=('74c4ede409b13d0365c65c0cd52dba04f1049530f6df706dc905443d5e60db06')
+
+build() {
+   cd "${srcdir}/LibreCAD-${pkgver}"
+
+   # fix version string
+   sed -i "/^SCMREVISION/c SCMREVISION=\"${pkgver}\"" librecad/src/src.pro
+
+   qmake-qt5 librecad.pro
+
+   # fix i

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

2017-06-26 Thread Christian Hesse
Date: Monday, June 26, 2017 @ 12:54:00
  Author: eworm
Revision: 240989

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

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

---+
 /PKGBUILD |  132 
 community-i686/PKGBUILD   |   66 --
 community-x86_64/PKGBUILD |   66 --
 3 files changed, 132 insertions(+), 132 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2017-06-26 12:53:54 UTC (rev 240988)
+++ community-i686/PKGBUILD 2017-06-26 12:54:00 UTC (rev 240989)
@@ -1,66 +0,0 @@
-# $Id$
-# Maintainer: Christian Hesse 
-# Contributor: mickele  (librecad-git PKGBUILD)
-# Contributor: Ilmari Repo  (librecad-svn PKGBUILD)
-# Contributor: GazJ Gary James  (CADuntu 
PKGBUILD)
-
-pkgname=librecad
-pkgver=2.1.3
-pkgrel=1
-pkgdesc='A 2D CAD drawing tool based on the community edition of QCad'
-arch=('i686' 'x86_64')
-url='http://www.librecad.org/'
-license=('GPL')
-depends=('qt5-base' 'qt5-svg' 'qt5-tools' 'libxcb' 'muparser')
-makedepends=('boost' 'imagemagick' 'librsvg')
-conflicts=('librecad-git')
-replaces=('librecad-svn' 'caduntu' 'caduntu-svn')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/LibreCAD/LibreCAD/archive/${pkgver}.tar.gz";)
-sha256sums=('74c4ede409b13d0365c65c0cd52dba04f1049530f6df706dc905443d5e60db06')
-
-build() {
-   cd "${srcdir}/LibreCAD-${pkgver}"
-
-   # fix version string
-   sed -i "/^SCMREVISION/c SCMREVISION=\"${pkgver}\"" librecad/src/src.pro
-
-   qmake-qt5 librecad.pro
-
-   # fix include path... this is an issue with gcc 6.1.1 and qmake-qt5...
-   make qmake_all
-   sed -i '/INCPATH/s|-isystem /usr/include ||' librecad/src/Makefile
-
-   make
-}
-
-package() {
-   cd "${srcdir}/LibreCAD-${pkgver}"
-
-   # executables
-   install -D -m0755 unix/librecad "${pkgdir}/usr/bin/librecad"
-   install -D -m0755 unix/ttf2lff "${pkgdir}/usr/bin/ttf2lff"
-
-   # desktop file and man pages
-   install -D -m0644 desktop/librecad.desktop 
"${pkgdir}/usr/share/applications/librecad.desktop"
-   install -D -m0644 desktop/librecad.1 
"${pkgdir}/usr/share/man/man1/librecad.1"
-
-   # documentation
-   install -D -m0644 librecad/support/doc/README 
"${pkgdir}/usr/share/doc/librecad/index.README"
-   install -D -m0644 librecad/support/doc/index.html 
"${pkgdir}/usr/share/doc/librecad/index.html"
-   install -D -m0644 librecad/support/doc/style.css 
"${pkgdir}/usr/share/doc/librecad/style.css"
-   install -D -m0644 librecad/support/doc/img/librecadlogo.png 
"${pkgdir}/usr/share/doc/librecad/img/librecadlogo.png"
-
-   # icons
-   for SIZE in 16 24 32 48 64 96 128; do
-   convert -scale ${SIZE} \
-   desktop/graphics_icons_and_splash/Icon\ 
LibreCAD/Icon_Librecad.svg \
-   ${srcdir}/librecad.png
-   install -D -m0644 ${srcdir}/librecad.png 
"${pkgdir}/usr/share/icons/hicolor/${SIZE}x${SIZE}/apps/librecad.png"
-   done
-   install -D -m0644 desktop/graphics_icons_and_splash/Icon\ 
LibreCAD/Icon_Librecad.svg 
"${pkgdir}/usr/share/icons/hicolor/scalable/apps/librecad.svg"
-
-   # resources
-   mkdir -p "${pkgdir}/usr/share/librecad/"
-   cp -r unix/resources/{library,patterns,fonts,qm} 
"${pkgdir}/usr/share/librecad/"
-}
-

Copied: librecad/repos/community-i686/PKGBUILD (from rev 240988, 
librecad/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2017-06-26 12:54:00 UTC (rev 240989)
@@ -0,0 +1,66 @@
+# $Id$
+# Maintainer: Christian Hesse 
+# Contributor: mickele  (librecad-git PKGBUILD)
+# Contributor: Ilmari Repo  (librecad-svn PKGBUILD)
+# Contributor: GazJ Gary James  (CADuntu 
PKGBUILD)
+
+pkgname=librecad
+pkgver=2.1.3
+pkgrel=2
+pkgdesc='A 2D CAD drawing tool based on the community edition of QCad'
+arch=('i686' 'x86_64')
+url='http://www.librecad.org/'
+license=('GPL')
+depends=('qt5-base' 'qt5-svg' 'libxcb' 'muparser')
+makedepends=('boost' 'imagemagick' 'librsvg')
+conflicts=('librecad-git')
+replaces=('librecad-svn' 'caduntu' 'caduntu-svn')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/LibreCAD/LibreCAD/archive/${pkgver}.tar.gz";)
+sha256sums=('74c4ede409b13d0365c65c0cd52dba04f1049530f6df706dc905443d5e60db06')
+
+build() {
+   cd "${srcdir}/LibreCAD-${pkgver}"
+
+   # fix version string
+   sed -i "/^SCMREVISION/c SCMREVISION=\"${pkgver}\"" librecad/src/src.pro
+
+   qmake-qt5 librecad.pro
+
+   # fix i

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

2016-09-23 Thread Christian Hesse
Date: Friday, September 23, 2016 @ 07:52:33
  Author: eworm
Revision: 190188

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

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

---+
 /PKGBUILD |  132 
 community-i686/PKGBUILD   |   66 --
 community-x86_64/PKGBUILD |   66 --
 3 files changed, 132 insertions(+), 132 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2016-09-23 07:52:29 UTC (rev 190187)
+++ community-i686/PKGBUILD 2016-09-23 07:52:33 UTC (rev 190188)
@@ -1,66 +0,0 @@
-# $Id$
-# Maintainer: Christian Hesse 
-# Contributor: mickele  (librecad-git PKGBUILD)
-# Contributor: Ilmari Repo  (librecad-svn PKGBUILD)
-# Contributor: GazJ Gary James  (CADuntu 
PKGBUILD)
-
-pkgname=librecad
-pkgver=2.1.2
-pkgrel=1
-pkgdesc='A 2D CAD drawing tool based on the community edition of QCad'
-arch=('i686' 'x86_64')
-url='http://www.librecad.org/'
-license=('GPL')
-depends=('qt5-base' 'qt5-svg' 'qt5-tools' 'libxcb' 'muparser')
-makedepends=('boost' 'imagemagick' 'librsvg')
-conflicts=('librecad-git')
-replaces=('librecad-svn' 'caduntu' 'caduntu-svn')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/LibreCAD/LibreCAD/archive/${pkgver}.tar.gz";)
-sha256sums=('12ece7102c9406b28acf5901e20e7940c44b570957d24599793c90c38d882d3e')
-
-build() {
-   cd "${srcdir}/LibreCAD-${pkgver}"
-
-   # fix version string
-   sed -i "/^SCMREVISION/c SCMREVISION=\"${pkgver}\"" librecad/src/src.pro
-
-   qmake-qt5 librecad.pro
-
-   # fix include path... this is an issue with gcc 6.1.1 and qmake-qt5...
-   make qmake_all
-   sed -i '/INCPATH/s|-isystem /usr/include ||' librecad/src/Makefile
-
-   make
-}
-
-package() {
-   cd "${srcdir}/LibreCAD-${pkgver}"
-
-   # executables
-   install -D -m0755 unix/librecad "${pkgdir}/usr/bin/librecad"
-   install -D -m0755 unix/ttf2lff "${pkgdir}/usr/bin/ttf2lff"
-
-   # desktop file and man pages
-   install -D -m0644 desktop/librecad.desktop 
"${pkgdir}/usr/share/applications/librecad.desktop"
-   install -D -m0644 desktop/librecad.1 
"${pkgdir}/usr/share/man/man1/librecad.1"
-
-   # documentation
-   install -D -m0644 librecad/support/doc/README 
"${pkgdir}/usr/share/doc/librecad/index.README"
-   install -D -m0644 librecad/support/doc/index.html 
"${pkgdir}/usr/share/doc/librecad/index.html"
-   install -D -m0644 librecad/support/doc/style.css 
"${pkgdir}/usr/share/doc/librecad/style.css"
-   install -D -m0644 librecad/support/doc/img/librecadlogo.png 
"${pkgdir}/usr/share/doc/librecad/img/librecadlogo.png"
-
-   # icons
-   for SIZE in 16 24 32 48 64 96 128; do
-   convert -scale ${SIZE} \
-   desktop/graphics_icons_and_splash/Icon\ 
LibreCAD/Icon_Librecad.svg \
-   ${srcdir}/librecad.png
-   install -D -m0644 ${srcdir}/librecad.png 
"${pkgdir}/usr/share/icons/hicolor/${SIZE}x${SIZE}/apps/librecad.png"
-   done
-   install -D -m0644 desktop/graphics_icons_and_splash/Icon\ 
LibreCAD/Icon_Librecad.svg 
"${pkgdir}/usr/share/icons/hicolor/scalable/apps/librecad.svg"
-
-   # resources
-   mkdir -p "${pkgdir}/usr/share/librecad/"
-   cp -r unix/resources/{library,patterns,fonts,qm} 
"${pkgdir}/usr/share/librecad/"
-}
-

Copied: librecad/repos/community-i686/PKGBUILD (from rev 190187, 
librecad/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2016-09-23 07:52:33 UTC (rev 190188)
@@ -0,0 +1,66 @@
+# $Id$
+# Maintainer: Christian Hesse 
+# Contributor: mickele  (librecad-git PKGBUILD)
+# Contributor: Ilmari Repo  (librecad-svn PKGBUILD)
+# Contributor: GazJ Gary James  (CADuntu 
PKGBUILD)
+
+pkgname=librecad
+pkgver=2.1.3
+pkgrel=1
+pkgdesc='A 2D CAD drawing tool based on the community edition of QCad'
+arch=('i686' 'x86_64')
+url='http://www.librecad.org/'
+license=('GPL')
+depends=('qt5-base' 'qt5-svg' 'qt5-tools' 'libxcb' 'muparser')
+makedepends=('boost' 'imagemagick' 'librsvg')
+conflicts=('librecad-git')
+replaces=('librecad-svn' 'caduntu' 'caduntu-svn')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/LibreCAD/LibreCAD/archive/${pkgver}.tar.gz";)
+sha256sums=('74c4ede409b13d0365c65c0cd52dba04f1049530f6df706dc905443d5e60db06')
+
+build() {
+   cd "${srcdir}/LibreCAD-${pkgver}"
+
+   # fix version string
+   sed -i "/^SCMREVISION/c SCMREVISION=\"${pkgver}\"" librecad/src/src.pro
+
+   qmake-qt5 librecad.pro

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

2016-09-17 Thread Christian Hesse
Date: Saturday, September 17, 2016 @ 19:08:52
  Author: eworm
Revision: 189884

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

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

---+
 /PKGBUILD |  132 
 community-i686/PKGBUILD   |   66 --
 community-x86_64/PKGBUILD |   66 --
 3 files changed, 132 insertions(+), 132 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2016-09-17 19:08:46 UTC (rev 189883)
+++ community-i686/PKGBUILD 2016-09-17 19:08:52 UTC (rev 189884)
@@ -1,66 +0,0 @@
-# $Id$
-# Maintainer: Christian Hesse 
-# Contributor: mickele  (librecad-git PKGBUILD)
-# Contributor: Ilmari Repo  (librecad-svn PKGBUILD)
-# Contributor: GazJ Gary James  (CADuntu 
PKGBUILD)
-
-pkgname=librecad
-pkgver=2.1.1
-pkgrel=1
-pkgdesc='A 2D CAD drawing tool based on the community edition of QCad'
-arch=('i686' 'x86_64')
-url='http://www.librecad.org/'
-license=('GPL')
-depends=('qt5-base' 'qt5-svg' 'qt5-tools' 'libxcb' 'muparser')
-makedepends=('boost' 'imagemagick' 'librsvg')
-conflicts=('librecad-git')
-replaces=('librecad-svn' 'caduntu' 'caduntu-svn')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/LibreCAD/LibreCAD/archive/${pkgver}.tar.gz";)
-sha256sums=('6b8ae6c98c6abed46ce7be92c82bfdfe10499a01cfcf6857fdc4f4f56fda5b8c')
-
-build() {
-   cd "${srcdir}/LibreCAD-${pkgver}"
-
-   # fix version string
-   sed -i "/^SCMREVISION/c SCMREVISION=\"${pkgver}\"" librecad/src/src.pro
-
-   qmake-qt5 librecad.pro
-
-   # fix include path... this is an issue with gcc 6.1.1 and qmake-qt5...
-   make qmake_all
-   sed -i '/INCPATH/s|-isystem /usr/include ||' librecad/src/Makefile
-
-   make
-}
-
-package() {
-   cd "${srcdir}/LibreCAD-${pkgver}"
-
-   # executables
-   install -D -m0755 unix/librecad "${pkgdir}/usr/bin/librecad"
-   install -D -m0755 unix/ttf2lff "${pkgdir}/usr/bin/ttf2lff"
-
-   # desktop file and man pages
-   install -D -m0644 desktop/librecad.desktop 
"${pkgdir}/usr/share/applications/librecad.desktop"
-   install -D -m0644 desktop/librecad.1 
"${pkgdir}/usr/share/man/man1/librecad.1"
-
-   # documentation
-   install -D -m0644 librecad/support/doc/README 
"${pkgdir}/usr/share/doc/librecad/index.README"
-   install -D -m0644 librecad/support/doc/index.html 
"${pkgdir}/usr/share/doc/librecad/index.html"
-   install -D -m0644 librecad/support/doc/style.css 
"${pkgdir}/usr/share/doc/librecad/style.css"
-   install -D -m0644 librecad/support/doc/img/librecadlogo.png 
"${pkgdir}/usr/share/doc/librecad/img/librecadlogo.png"
-
-   # icons
-   for SIZE in 16 24 32 48 64 96 128; do
-   convert -scale ${SIZE} \
-   desktop/graphics_icons_and_splash/Icon\ 
LibreCAD/Icon_Librecad.svg \
-   ${srcdir}/librecad.png
-   install -D -m0644 ${srcdir}/librecad.png 
"${pkgdir}/usr/share/icons/hicolor/${SIZE}x${SIZE}/apps/librecad.png"
-   done
-   install -D -m0644 desktop/graphics_icons_and_splash/Icon\ 
LibreCAD/Icon_Librecad.svg 
"${pkgdir}/usr/share/icons/hicolor/scalable/apps/librecad.svg"
-
-   # resources
-   mkdir -p "${pkgdir}/usr/share/librecad/"
-   cp -r unix/resources/{library,patterns,fonts,qm} 
"${pkgdir}/usr/share/librecad/"
-}
-

Copied: librecad/repos/community-i686/PKGBUILD (from rev 189883, 
librecad/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2016-09-17 19:08:52 UTC (rev 189884)
@@ -0,0 +1,66 @@
+# $Id$
+# Maintainer: Christian Hesse 
+# Contributor: mickele  (librecad-git PKGBUILD)
+# Contributor: Ilmari Repo  (librecad-svn PKGBUILD)
+# Contributor: GazJ Gary James  (CADuntu 
PKGBUILD)
+
+pkgname=librecad
+pkgver=2.1.2
+pkgrel=1
+pkgdesc='A 2D CAD drawing tool based on the community edition of QCad'
+arch=('i686' 'x86_64')
+url='http://www.librecad.org/'
+license=('GPL')
+depends=('qt5-base' 'qt5-svg' 'qt5-tools' 'libxcb' 'muparser')
+makedepends=('boost' 'imagemagick' 'librsvg')
+conflicts=('librecad-git')
+replaces=('librecad-svn' 'caduntu' 'caduntu-svn')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/LibreCAD/LibreCAD/archive/${pkgver}.tar.gz";)
+sha256sums=('12ece7102c9406b28acf5901e20e7940c44b570957d24599793c90c38d882d3e')
+
+build() {
+   cd "${srcdir}/LibreCAD-${pkgver}"
+
+   # fix version string
+   sed -i "/^SCMREVISION/c SCMREVISION=\"${pkgver}\"" librecad/src/src.pro
+
+   qmake-qt5 librecad.pr

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

2016-06-26 Thread Christian Hesse
Date: Sunday, June 26, 2016 @ 19:43:21
  Author: eworm
Revision: 181269

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

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

---+
 /PKGBUILD |  132 
 community-i686/PKGBUILD   |   66 --
 community-x86_64/PKGBUILD |   66 --
 3 files changed, 132 insertions(+), 132 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2016-06-26 19:43:16 UTC (rev 181268)
+++ community-i686/PKGBUILD 2016-06-26 19:43:21 UTC (rev 181269)
@@ -1,66 +0,0 @@
-# $Id$
-# Maintainer: Christian Hesse 
-# Contributor: mickele  (librecad-git PKGBUILD)
-# Contributor: Ilmari Repo  (librecad-svn PKGBUILD)
-# Contributor: GazJ Gary James  (CADuntu 
PKGBUILD)
-
-pkgname=librecad
-pkgver=2.1.0
-pkgrel=1
-pkgdesc='A 2D CAD drawing tool based on the community edition of QCad'
-arch=('i686' 'x86_64')
-url='http://www.librecad.org/'
-license=('GPL')
-depends=('qt5-base' 'qt5-svg' 'qt5-tools' 'libxcb' 'muparser')
-makedepends=('boost' 'imagemagick' 'librsvg')
-conflicts=('librecad-git')
-replaces=('librecad-svn' 'caduntu' 'caduntu-svn')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/LibreCAD/LibreCAD/archive/${pkgver}.tar.gz";)
-sha256sums=('dd1855f25d7d083f84a21381024d0e4f05ff3d0f1b6225809b409f30b6b885cf')
-
-build() {
-   cd "${srcdir}/LibreCAD-${pkgver}"
-
-   # fix version string
-   sed -i "/^SCMREVISION/c SCMREVISION=\"${pkgver}\"" librecad/src/src.pro
-
-   qmake-qt5 librecad.pro
-
-   # fix include path... this is an issue with gcc 6.1.1 and qmake-qt5...
-   make qmake_all
-   sed -i '/INCPATH/s|-isystem /usr/include ||' librecad/src/Makefile
-
-   make
-}
-
-package() {
-   cd "${srcdir}/LibreCAD-${pkgver}"
-
-   # executables
-   install -D -m0755 unix/librecad "${pkgdir}/usr/bin/librecad"
-   install -D -m0755 unix/ttf2lff "${pkgdir}/usr/bin/ttf2lff"
-
-   # desktop file and man pages
-   install -D -m0644 desktop/librecad.desktop 
"${pkgdir}/usr/share/applications/librecad.desktop"
-   install -D -m0644 desktop/librecad.1 
"${pkgdir}/usr/share/man/man1/librecad.1"
-
-   # documentation
-   install -D -m0644 librecad/support/doc/README 
"${pkgdir}/usr/share/doc/librecad/index.README"
-   install -D -m0644 librecad/support/doc/index.html 
"${pkgdir}/usr/share/doc/librecad/index.html"
-   install -D -m0644 librecad/support/doc/style.css 
"${pkgdir}/usr/share/doc/librecad/style.css"
-   install -D -m0644 librecad/support/doc/img/librecadlogo.png 
"${pkgdir}/usr/share/doc/librecad/img/librecadlogo.png"
-
-   # icons
-   for SIZE in 16 24 32 48 64 96 128; do
-   convert -scale ${SIZE} \
-   desktop/graphics_icons_and_splash/Icon\ 
LibreCAD/Icon_Librecad.svg \
-   ${srcdir}/librecad.png
-   install -D -m0644 ${srcdir}/librecad.png 
"${pkgdir}/usr/share/icons/hicolor/${SIZE}x${SIZE}/apps/librecad.png"
-   done
-   install -D -m0644 desktop/graphics_icons_and_splash/Icon\ 
LibreCAD/Icon_Librecad.svg 
"${pkgdir}/usr/share/icons/hicolor/scalable/apps/librecad.svg"
-
-   # resources
-   mkdir -p "${pkgdir}/usr/share/librecad/"
-   cp -r unix/resources/{library,patterns,fonts,qm} 
"${pkgdir}/usr/share/librecad/"
-}
-

Copied: librecad/repos/community-i686/PKGBUILD (from rev 181268, 
librecad/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2016-06-26 19:43:21 UTC (rev 181269)
@@ -0,0 +1,66 @@
+# $Id$
+# Maintainer: Christian Hesse 
+# Contributor: mickele  (librecad-git PKGBUILD)
+# Contributor: Ilmari Repo  (librecad-svn PKGBUILD)
+# Contributor: GazJ Gary James  (CADuntu 
PKGBUILD)
+
+pkgname=librecad
+pkgver=2.1.1
+pkgrel=1
+pkgdesc='A 2D CAD drawing tool based on the community edition of QCad'
+arch=('i686' 'x86_64')
+url='http://www.librecad.org/'
+license=('GPL')
+depends=('qt5-base' 'qt5-svg' 'qt5-tools' 'libxcb' 'muparser')
+makedepends=('boost' 'imagemagick' 'librsvg')
+conflicts=('librecad-git')
+replaces=('librecad-svn' 'caduntu' 'caduntu-svn')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/LibreCAD/LibreCAD/archive/${pkgver}.tar.gz";)
+sha256sums=('6b8ae6c98c6abed46ce7be92c82bfdfe10499a01cfcf6857fdc4f4f56fda5b8c')
+
+build() {
+   cd "${srcdir}/LibreCAD-${pkgver}"
+
+   # fix version string
+   sed -i "/^SCMREVISION/c SCMREVISION=\"${pkgver}\"" librecad/src/src.pro
+
+   qmake-qt5 librecad.pro
+
+  

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

2016-06-06 Thread Christian Hesse
Date: Monday, June 6, 2016 @ 22:33:00
  Author: eworm
Revision: 178052

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

Added:
  librecad/repos/community-testing-i686/
  librecad/repos/community-testing-i686/PKGBUILD
(from rev 178051, librecad/trunk/PKGBUILD)
  librecad/repos/community-testing-x86_64/
  librecad/repos/community-testing-x86_64/PKGBUILD
(from rev 178051, librecad/trunk/PKGBUILD)

---+
 community-testing-i686/PKGBUILD   |   66 
 community-testing-x86_64/PKGBUILD |   66 
 2 files changed, 132 insertions(+)

Copied: librecad/repos/community-testing-i686/PKGBUILD (from rev 178051, 
librecad/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2016-06-06 20:33:00 UTC (rev 178052)
@@ -0,0 +1,66 @@
+# $Id$
+# Maintainer: Christian Hesse 
+# Contributor: mickele  (librecad-git PKGBUILD)
+# Contributor: Ilmari Repo  (librecad-svn PKGBUILD)
+# Contributor: GazJ Gary James  (CADuntu 
PKGBUILD)
+
+pkgname=librecad
+pkgver=2.1.0
+pkgrel=1
+pkgdesc='A 2D CAD drawing tool based on the community edition of QCad'
+arch=('i686' 'x86_64')
+url='http://www.librecad.org/'
+license=('GPL')
+depends=('qt5-base' 'qt5-svg' 'qt5-tools' 'libxcb' 'muparser')
+makedepends=('boost' 'imagemagick' 'librsvg')
+conflicts=('librecad-git')
+replaces=('librecad-svn' 'caduntu' 'caduntu-svn')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/LibreCAD/LibreCAD/archive/${pkgver}.tar.gz";)
+sha256sums=('dd1855f25d7d083f84a21381024d0e4f05ff3d0f1b6225809b409f30b6b885cf')
+
+build() {
+   cd "${srcdir}/LibreCAD-${pkgver}"
+
+   # fix version string
+   sed -i "/^SCMREVISION/c SCMREVISION=\"${pkgver}\"" librecad/src/src.pro
+
+   qmake-qt5 librecad.pro
+
+   # fix include path... this is an issue with gcc 6.1.1 and qmake-qt5...
+   make qmake_all
+   sed -i '/INCPATH/s|-isystem /usr/include ||' librecad/src/Makefile
+
+   make
+}
+
+package() {
+   cd "${srcdir}/LibreCAD-${pkgver}"
+
+   # executables
+   install -D -m0755 unix/librecad "${pkgdir}/usr/bin/librecad"
+   install -D -m0755 unix/ttf2lff "${pkgdir}/usr/bin/ttf2lff"
+
+   # desktop file and man pages
+   install -D -m0644 desktop/librecad.desktop 
"${pkgdir}/usr/share/applications/librecad.desktop"
+   install -D -m0644 desktop/librecad.1 
"${pkgdir}/usr/share/man/man1/librecad.1"
+
+   # documentation
+   install -D -m0644 librecad/support/doc/README 
"${pkgdir}/usr/share/doc/librecad/index.README"
+   install -D -m0644 librecad/support/doc/index.html 
"${pkgdir}/usr/share/doc/librecad/index.html"
+   install -D -m0644 librecad/support/doc/style.css 
"${pkgdir}/usr/share/doc/librecad/style.css"
+   install -D -m0644 librecad/support/doc/img/librecadlogo.png 
"${pkgdir}/usr/share/doc/librecad/img/librecadlogo.png"
+
+   # icons
+   for SIZE in 16 24 32 48 64 96 128; do
+   convert -scale ${SIZE} \
+   desktop/graphics_icons_and_splash/Icon\ 
LibreCAD/Icon_Librecad.svg \
+   ${srcdir}/librecad.png
+   install -D -m0644 ${srcdir}/librecad.png 
"${pkgdir}/usr/share/icons/hicolor/${SIZE}x${SIZE}/apps/librecad.png"
+   done
+   install -D -m0644 desktop/graphics_icons_and_splash/Icon\ 
LibreCAD/Icon_Librecad.svg 
"${pkgdir}/usr/share/icons/hicolor/scalable/apps/librecad.svg"
+
+   # resources
+   mkdir -p "${pkgdir}/usr/share/librecad/"
+   cp -r unix/resources/{library,patterns,fonts,qm} 
"${pkgdir}/usr/share/librecad/"
+}
+

Copied: librecad/repos/community-testing-x86_64/PKGBUILD (from rev 178051, 
librecad/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2016-06-06 20:33:00 UTC (rev 178052)
@@ -0,0 +1,66 @@
+# $Id$
+# Maintainer: Christian Hesse 
+# Contributor: mickele  (librecad-git PKGBUILD)
+# Contributor: Ilmari Repo  (librecad-svn PKGBUILD)
+# Contributor: GazJ Gary James  (CADuntu 
PKGBUILD)
+
+pkgname=librecad
+pkgver=2.1.0
+pkgrel=1
+pkgdesc='A 2D CAD drawing tool based on the community edition of QCad'
+arch=('i686' 'x86_64')
+url='http://www.librecad.org/'
+license=('GPL')
+depends=('qt5-base' 'qt5-svg' 'qt5-tools' 'libxcb' 'muparser')
+makedepends=('boost' 'imagemagick' 'librsvg')
+conflicts=('librecad-git')
+replaces=('librecad-svn' 'caduntu' 'caduntu-svn')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/LibreCAD/LibreCAD/archive/${pkgver}.tar.gz";)
+sha256sums=('dd1855f25d7d083f84a21381024d0e4f05ff3d0f1b6225809b409f30b6b885cf')
+
+build() {
+   cd "${srcdir}/LibreCAD-${pkgver}"
+
+   # fix version string
+   sed -i "/^SCMREVISION/c SCMREV

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

2016-05-23 Thread Christian Hesse
Date: Monday, May 23, 2016 @ 10:28:48
  Author: eworm
Revision: 176123

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

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

---+
 /PKGBUILD |  132 
 community-i686/PKGBUILD   |   62 
 community-x86_64/PKGBUILD |   62 
 3 files changed, 132 insertions(+), 124 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2016-05-23 08:28:42 UTC (rev 176122)
+++ community-i686/PKGBUILD 2016-05-23 08:28:48 UTC (rev 176123)
@@ -1,62 +0,0 @@
-# $Id$
-# Maintainer: Christian Hesse 
-# Contributor: mickele  (librecad-git PKGBUILD)
-# Contributor: Ilmari Repo  (librecad-svn PKGBUILD)
-# Contributor: GazJ Gary James  (CADuntu 
PKGBUILD)
-
-pkgname=librecad
-pkgver=2.0.10
-pkgrel=2
-pkgdesc='A 2D CAD drawing tool based on the community edition of QCad'
-arch=('i686' 'x86_64')
-url='http://www.librecad.org/'
-license=('GPL')
-depends=('qt5-base' 'qt5-svg' 'qt5-tools' 'libxcb' 'muparser')
-makedepends=('boost' 'imagemagick' 'librsvg')
-conflicts=('librecad-git')
-replaces=('librecad-svn' 'caduntu' 'caduntu-svn')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/LibreCAD/LibreCAD/archive/${pkgver}.tar.gz";)
-sha256sums=('ca24bede4f4a82816842e66aba3d280b0fde0b94b5dbc55a9a030b7906be6b13')
-
-build() {
-   cd "${srcdir}/LibreCAD-${pkgver}"
-
-   # fix version string
-   sed -i "/^SCMREVISION/c SCMREVISION=\"${pkgver}\"" librecad/src/src.pro
-
-   export CPPFLAGS="-std=c++0x"
-   qmake-qt5 librecad.pro
-   make
-}
-
-package() {
-   cd "${srcdir}/LibreCAD-${pkgver}"
-
-   # executables
-   install -D -m0755 unix/librecad "${pkgdir}/usr/bin/librecad"
-   install -D -m0755 unix/ttf2lff "${pkgdir}/usr/bin/ttf2lff"
-
-   # desktop file and man pages
-   install -D -m0644 desktop/librecad.desktop 
"${pkgdir}/usr/share/applications/librecad.desktop"
-   install -D -m0644 desktop/librecad.1 
"${pkgdir}/usr/share/man/man1/librecad.1"
-
-   # documentation
-   install -D -m0644 librecad/support/doc/README 
"${pkgdir}/usr/share/doc/librecad/index.README"
-   install -D -m0644 librecad/support/doc/index.html 
"${pkgdir}/usr/share/doc/librecad/index.html"
-   install -D -m0644 librecad/support/doc/style.css 
"${pkgdir}/usr/share/doc/librecad/style.css"
-   install -D -m0644 librecad/support/doc/img/librecadlogo.png 
"${pkgdir}/usr/share/doc/librecad/img/librecadlogo.png"
-
-   # icons
-   for SIZE in 16 24 32 48 64 96 128; do
-   convert -scale ${SIZE} \
-   desktop/graphics_icons_and_splash/Icon\ 
LibreCAD/Icon_Librecad.svg \
-   ${srcdir}/librecad.png
-   install -D -m0644 ${srcdir}/librecad.png 
"${pkgdir}/usr/share/icons/hicolor/${SIZE}x${SIZE}/apps/librecad.png"
-   done
-   install -D -m0644 desktop/graphics_icons_and_splash/Icon\ 
LibreCAD/Icon_Librecad.svg 
"${pkgdir}/usr/share/icons/hicolor/scalable/apps/librecad.svg"
-
-   # resources
-   mkdir -p "${pkgdir}/usr/share/librecad/"
-   cp -r unix/resources/{library,patterns,fonts,qm} 
"${pkgdir}/usr/share/librecad/"
-}
-

Copied: librecad/repos/community-i686/PKGBUILD (from rev 176122, 
librecad/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2016-05-23 08:28:48 UTC (rev 176123)
@@ -0,0 +1,66 @@
+# $Id$
+# Maintainer: Christian Hesse 
+# Contributor: mickele  (librecad-git PKGBUILD)
+# Contributor: Ilmari Repo  (librecad-svn PKGBUILD)
+# Contributor: GazJ Gary James  (CADuntu 
PKGBUILD)
+
+pkgname=librecad
+pkgver=2.0.11
+pkgrel=1
+pkgdesc='A 2D CAD drawing tool based on the community edition of QCad'
+arch=('i686' 'x86_64')
+url='http://www.librecad.org/'
+license=('GPL')
+depends=('qt5-base' 'qt5-svg' 'qt5-tools' 'libxcb' 'muparser')
+makedepends=('boost' 'imagemagick' 'librsvg')
+conflicts=('librecad-git')
+replaces=('librecad-svn' 'caduntu' 'caduntu-svn')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/LibreCAD/LibreCAD/archive/${pkgver}.tar.gz";)
+sha256sums=('05be8268614771e0c2a65e5ec767b26f516aab1d38e0c79d8137feabf110aa49')
+
+build() {
+   cd "${srcdir}/LibreCAD-${pkgver}"
+
+   # fix version string
+   sed -i "/^SCMREVISION/c SCMREVISION=\"${pkgver}\"" librecad/src/src.pro
+
+   qmake-qt5 librecad.pro
+
+   # fix include path... this is an issue with gcc 6.1.1 and qmake-qt5...
+   make qmake_all
+   sed -i '/INCPATH/s|-isystem /usr/include