Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-09-15 19:10:14 +0200
committerErich Eckner <git@eckner.net>2017-09-15 19:10:14 +0200
commit50c5639ea0e5a583481304bdd1662ed4485288f8 (patch)
tree33e1077dfa638dc33d4a49838cfa33a6d7e96d19
parent2dc0d2dfa0bf84db5f22a22d72f49ee19dbb673f (diff)
community/qcad: temp. fix to also compile with qt-5.9.1
-rw-r--r--community/qcad/PKGBUILD13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/qcad/PKGBUILD b/community/qcad/PKGBUILD
new file mode 100644
index 00000000..1dd2af05
--- /dev/null
+++ b/community/qcad/PKGBUILD
@@ -0,0 +1,13 @@
+# temp. fix to compile with qt-5.9.1
+# see https://qcad.org/rsforum/viewtopic.php?f=76&p=18469
+sha256sums=('9838381cfc7e1d728c8db29895a7a78480de628a4aea1a9b54929b5ecfa61480')
+
+eval "$(
+ declare -f prepare | \
+ sed '
+ /^{/ a \
+ cd "$srcdir/$pkgname-$pkgver/src/3rdparty/" \
+ mkdir 'qt-labs-qtscriptgenerator-5.9.1' \
+ cp 'qt-labs-qtscriptgenerator-5.9.0/qt-labs-qtscriptgenerator-5.9.0.pro' 'qt-labs-qtscriptgenerator-5.9.1/qt-labs-qtscriptgenerator-5.9.1.pro'
+ '
+)"