diff --git a/mingw-w64-7zip/PKGBUILD b/mingw-w64-7zip/PKGBUILD index 13d16f1726..3dd40a6639 100644 --- a/mingw-w64-7zip/PKGBUILD +++ b/mingw-w64-7zip/PKGBUILD @@ -4,7 +4,7 @@ _realname=7zip pkgbase=mingw-w64-${_realname} pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}" pkgver=22.01 -pkgrel=2 +pkgrel=3 pkgdesc="A file archiver with a high compression ratio (mingw-w64)" arch=('any') mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64') @@ -20,7 +20,7 @@ sha256sums=('393098730c70042392af808917e765945dc2437dee7aae3cfcc4966eb920fbc5' prepare () { case ${MSYSTEM} in CLANG*) - sed -i 's/-Werror/& -Wno-error=missing-exception-spec -Wno-error=unused-but-set-variable -Wno-error=unknown-attributes/' */*.mak */*/*.mak + sed -i 's/-Werror/ -Wno-missing-exception-spec -Wno-unused-but-set-variable -Wno-unknown-attributes/' */*.mak */*/*.mak # This patch can be dropped once we're using Clang 16 or later patch -p0 -i "${srcdir}/clang-arm-target-fixes.patch" ;; @@ -30,6 +30,7 @@ prepare () { build() { cd "${srcdir}"/ + make -C CPP/7zip/Bundles/Format7zF -f makefile.gcc make -C CPP/7zip/UI/Console -f makefile.gcc make -C CPP/7zip/Bundles/SFXCon -f makefile.gcc } @@ -37,6 +38,7 @@ build() { package() { cd "${srcdir}" + install -D -m755 CPP/7zip/Bundles/Format7zF/_o/7z.dll "${pkgdir}"${MINGW_PREFIX}/bin/7z.dll install -D -m755 CPP/7zip/UI/Console/_o/7z.exe "${pkgdir}"${MINGW_PREFIX}/bin/7z.exe install -D -m755 CPP/7zip/Bundles/SFXCon/_o/7zCon.exe "${pkgdir}"${MINGW_PREFIX}/lib/7zip/7zCon.sfx