From a334900be33553a3de00de4afa664711d42b4431 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 --- ect/.SRCINFO | 2 +- ect/PKGBUILD | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ect/.SRCINFO b/ect/.SRCINFO index 84109a8..9b53bc0 100644 --- a/ect/.SRCINFO +++ b/ect/.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/ect/PKGBUILD b/ect/PKGBUILD index 35918cf..adb0d79 100644 --- a/ect/PKGBUILD +++ b/ect/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 }