diff options
author | Martchus | 2021-02-05 22:20:27 +0100 |
---|---|---|
committer | Martchus | 2021-02-05 22:20:27 +0100 |
commit | f5bda960a900fb77310f9684334827b87dd1f65e (patch) | |
tree | f3dcac4fc8bf5e67ba3686a86be773a700c98c10 /PKGBUILD | |
parent | 8c7ceab48467d7437d889151475a86824f172bc0 (diff) | |
download | aur-f5bda960a900fb77310f9684334827b87dd1f65e.tar.gz |
Update to 6.0.1
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -4,7 +4,7 @@ # you also find the URL of a binary repository. pkgname=mingw-w64-qt6-5compat-static -_qtver=6.0.0 +_qtver=6.0.1 pkgver=${_qtver/-/} pkgrel=1 arch=(any) @@ -17,7 +17,7 @@ options=('!strip' '!buildflags' 'staticlibs' '!emptydirs') groups=(mingw-w64-qt6) _pkgfqn="qt5compat-everywhere-src-${_qtver}" source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") -sha256sums=('13b9d78aa698609d07376e3e9e9d1a82a96084236aba0642f8ac695c181ab25f') +sha256sums=('058a723f6be33748a5ecaab7a0e398993d9b7788bed3a196aee26432cb8e9a1e') _architectures='i686-w64-mingw32 x86_64-w64-mingw32' @@ -26,6 +26,7 @@ build() { export PKG_CONFIG=/usr/bin/$_arch-pkg-config $_arch-cmake-static -G Ninja -B build-$_arch -S $_pkgfqn \ -DCMAKE_INSTALL_PREFIX:PATH="/usr/$_arch/static" \ + -DFEATURE_static_runtime=ON \ -DFEATURE_pkg_config=ON cmake --build build-$_arch done @@ -38,6 +39,7 @@ package() { find "$pkgdir/usr/$_arch" -iname '*.exe' -exec $_arch-strip --strip-all {} \; find "$pkgdir/usr/$_arch" -iname '*.dll' -exec $_arch-strip --strip-unneeded {} \; find "$pkgdir/usr/$_arch" -iname '*.a' -exec $_arch-strip -g {} \; + [[ -d "$pkgdir/usr/$_arch/static/share/doc" ]] && rm -r "$pkgdir/usr/$_arch/static/share/doc" done install -d "$pkgdir"/usr/share/licenses |