From 7ff47d01a306b0fd072ccd7573a8d1302d544cb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20H=C3=BCsers?= Date: Mon, 5 May 2025 20:22:14 +0200 Subject: [PATCH] upgpkg: ect 0.9.5-3: CMake 4 compatibility --- .SRCINFO | 2 +- PKGBUILD | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 84109a8..9b53bc0 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = ect pkgdesc = File compressor, supports postcompression of PNG, JPEG, GZIP and ZIP files pkgver = 0.9.5 - pkgrel = 2 + pkgrel = 3 url = https://github.com/fhanau/efficient-compression-tool arch = x86_64 license = Apache-2.0 diff --git a/PKGBUILD b/PKGBUILD index 35918cf..adb0d79 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,7 +5,7 @@ pkgname=ect _pkgname=efficient-compression-tool pkgver=0.9.5 -pkgrel=2 +pkgrel=3 pkgdesc='File compressor, supports postcompression of PNG, JPEG, GZIP and ZIP files' url="https://github.com/fhanau/$_pkgname" arch=('x86_64') @@ -30,7 +30,8 @@ prepare() { build() { cmake -B build -S "$_pkgname"/src \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_POLICY_VERSION_MINIMUM=3.5 cmake --build build }