summarylogtreecommitdiffstats
path: root/PKGBUILD.sh.ep
blob: 88bf4681429496cf7638cbd21f6f5df2037d96da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
% layout 'mingw-w64-qt5-module', shared_config => 0;
\
% content_for additional_contributors => begin
# Contributor: ant32 <antreimer@gmail.com>
% end
\
% content_for comment_header => begin
# Only includes static versions because this module seems to enforce
# being built as static library.

% end
\
pkgver=5.15.16
pkgrel=1
arch=('any')
pkgdesc="ActiveX integration framework (mingw-w64)"
depends=(<%== qt5deps qw(base) %>)
makedepends=(<%== qt5deps qw(declarative) %> 'mingw-w64-gcc' 'mingw-w64-pkg-config' 'python')
license=('GPL3' 'LGPL3' 'LGPL2.1' 'FDL' 'custom')
\
% content_for source => begin

        'cmake-config-template.cmake'\
%end
\
% content_for sha256sums => begin

            '89d091e4d5692eceeecc7ffef3c054fa47652458986beb98c4dc2c6b4e55ab26'\
%end
\
% content_for package_config => begin

      for _sub_module in Base Container Server; do
        mkdir "$pkgdir/usr/${_arch}/lib/cmake/Qt5Ax${_sub_module}"
        sed -e "s|@QT_SUB_MODULE_NAME@|${_sub_module}|" "$srcdir/cmake-config-template.cmake" > \\
               "$pkgdir/usr/${_arch}/lib/cmake/Qt5Ax${_sub_module}/Qt5Ax${_sub_module}Config.cmake"
        ln -rs "$pkgdir/usr/${_arch}/lib/cmake/StaticQt5Ax${_sub_module}/StaticQt5Ax${_sub_module}ConfigVersion.cmake" \\
               "$pkgdir/usr/${_arch}/lib/cmake/Qt5Ax${_sub_module}/Qt5Ax${_sub_module}ConfigVersion.cmake"
      done
% end
\
% content_for package => begin

<%== include 'fragments/mingw-w64-qt5-executable_suffix' %>\
% end