upgpkg: ect 0.9.5-3: CMake 4 compatibility
This commit is contained in:
parent
954db90b45
commit
7ff47d01a3
2 changed files with 4 additions and 3 deletions
2
.SRCINFO
2
.SRCINFO
|
@ -1,7 +1,7 @@
|
||||||
pkgbase = ect
|
pkgbase = ect
|
||||||
pkgdesc = File compressor, supports postcompression of PNG, JPEG, GZIP and ZIP files
|
pkgdesc = File compressor, supports postcompression of PNG, JPEG, GZIP and ZIP files
|
||||||
pkgver = 0.9.5
|
pkgver = 0.9.5
|
||||||
pkgrel = 2
|
pkgrel = 3
|
||||||
url = https://github.com/fhanau/efficient-compression-tool
|
url = https://github.com/fhanau/efficient-compression-tool
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = Apache-2.0
|
license = Apache-2.0
|
||||||
|
|
5
PKGBUILD
5
PKGBUILD
|
@ -5,7 +5,7 @@
|
||||||
pkgname=ect
|
pkgname=ect
|
||||||
_pkgname=efficient-compression-tool
|
_pkgname=efficient-compression-tool
|
||||||
pkgver=0.9.5
|
pkgver=0.9.5
|
||||||
pkgrel=2
|
pkgrel=3
|
||||||
pkgdesc='File compressor, supports postcompression of PNG, JPEG, GZIP and ZIP files'
|
pkgdesc='File compressor, supports postcompression of PNG, JPEG, GZIP and ZIP files'
|
||||||
url="https://github.com/fhanau/$_pkgname"
|
url="https://github.com/fhanau/$_pkgname"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
|
@ -30,7 +30,8 @@ prepare() {
|
||||||
build() {
|
build() {
|
||||||
cmake -B build -S "$_pkgname"/src \
|
cmake -B build -S "$_pkgname"/src \
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
-DCMAKE_BUILD_TYPE=Release
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-DCMAKE_POLICY_VERSION_MINIMUM=3.5
|
||||||
cmake --build build
|
cmake --build build
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue