summarylogtreecommitdiffstats
path: root/PKGBUILD.sh.ep
blob: 80ec5082a8542125793714f8f717244a836d9004 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
% layout 'mingw-w64-qt5-module';
\
pkgver=5.15.16
pkgrel=1
arch=(<%== include 'fragments/mingw-w64-qt5-non_any_archs' %>)
pkgdesc="Static and runtime integration of SCXML models into Qt code (mingw-w64)"
depends=(<%== qt5deps qw(declarative) %>)
makedepends=('mingw-w64-gcc' 'mingw-w64-pkg-config')
license=('GPL3' 'LGPL3' 'FDL' 'custom')
\
% content_for build_config_before_make => begin

      # Search paths for host standard library (/usr/lib) and for Qt5Bootstrap (/usr/$_arch/lib) are not set correctly by qmake
      # hence we need insert those paths manually
      make qmake_all
      find . -type f -iname 'Makefile' -exec sed -i "s|-L/usr/$_arch/lib -lQt5Bootstrap|-L/usr/lib -L/usr/$_arch/lib -lQt5Bootstrap|g" {} \;

% end