upgpkg: ect 0.9.5-3: CMake 4 compatibility

This commit is contained in:
Manuel 2025-05-05 20:22:14 +02:00
parent 831227c2c8
commit a334900be3
Signed by: Manuel
GPG key ID: 4085037435E1F07A
2 changed files with 4 additions and 3 deletions

View file

@ -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

View file

@ -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
}