summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Zou2020-11-11 14:50:26 +0100
committerMichel Zou2020-11-11 14:50:26 +0100
commit358cecdb4ff663d6121e009ecf477ecebb77d67f (patch)
treea36392c312ecd9cc6b39f67895f45a72f036d964
parent68794fbba668422d2e091a0d6564c1cd5e4b3e3e (diff)
downloadaur-358cecdb4ff663d6121e009ecf477ecebb77d67f.tar.gz
QMAKESPEC
-rw-r--r--PKGBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b77561d725a..e718d819062 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -34,10 +34,13 @@ build() {
for _arch in ${_architectures}; do
export QTDIR=/usr/${_arch}/lib/qt6
export PATH=${QTDIR}/bin:${PATH}
+ export QMAKESPEC=${QTDIR}/mkspecs/win32-g++
+
mkdir -p "${srcdir}/qwt-build-${_arch}"
cd "${srcdir}"
- cp -r "qwt-6.2" "qwt-build-${_arch}"
- cd "${srcdir}/qwt-build-${_arch}/qwt-6.2"
+ rm -rf qwt-build-${_arch}
+ cp -r "qwt-6.2" qwt-build-${_arch}
+ cd qwt-build-${_arch}
# This is a mingw build, so Windows prefix is used. Let's change it:
sed -i "s|C:/Qwt-\$\$QWT_VERSION|/usr/${_arch}|" qwtconfig.pri