summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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'
+ '
+)"