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

Antonio Rojas arojas at archlinux.org
Sat Dec 23 00:22:38 UTC 2017


    Date: Saturday, December 23, 2017 @ 00:22:37
  Author: arojas
Revision: 275583

Update to 3.19.2.0

Modified:
  qcad/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-22 23:33:04 UTC (rev 275582)
+++ PKGBUILD	2017-12-23 00:22:37 UTC (rev 275583)
@@ -1,11 +1,12 @@
 # $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer:
+# Contributor: 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.18.1.0
+pkgver=3.19.2.0
 pkgrel=1
 pkgdesc="A 2D CAD package based upon Qt"
 arch=('x86_64')
@@ -14,21 +15,22 @@
 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=('91b9545399ee28da4a877270f24b941de73037dce3a70eb97ae426851fcb9a6f')
+sha256sums=('23f24b164ac6fca351f3b8087dbc6a2bf954c747bf46be40f50f16eb9fc41721')
 
 prepare() {
-  cd "$srcdir"/qcad-$pkgver
-  rm ../*.tar.gz
+  rm *.tar.gz
+  cd qcad-$pkgver
+  sed -e 's|$${QT_VERSION}|5.5.0|g' -i src/3rdparty/3rdparty.pro # Don't require specific Qt version
 }
 
 build() {
-  cd "$srcdir"/qcad-$pkgver
+  cd qcad-$pkgver
   qmake-qt5 qcad.pro
   make
 }
 
 package() {
-  cd "$srcdir"/qcad-$pkgver
+  cd qcad-$pkgver
 
   # remove project files
   find . \( -name '*.pri' -or -name '.pro' -or -name '*.ts' \) -delete



More information about the arch-commits mailing list