Update zlib-ng-compat

This commit is contained in:
Andrey Rodionov 2024-06-05 21:36:22 +03:00
parent 3d79c49d22
commit 9d89070140
2 changed files with 7 additions and 5 deletions

View file

@ -1,12 +1,12 @@
pkgbase = zlib-ng-compat
pkgdesc = zlib replacement with optimizations for 'next generation' systems (replaces zlib)
pkgver = 2.1.6
pkgrel = 1
pkgrel = 2
url = https://github.com/zlib-ng/zlib-ng
arch = aarch64
arch = i686
arch = x86_64
license = custom:zlib
license = Zlib
makedepends = cmake
depends = glibc
provides = zlib

View file

@ -2,11 +2,11 @@
pkgname=zlib-ng-compat
pkgver=2.1.6
pkgrel=1
pkgrel=2
pkgdesc="zlib replacement with optimizations for 'next generation' systems (replaces zlib)"
arch=('aarch64' 'i686' 'x86_64')
url="https://github.com/zlib-ng/zlib-ng"
license=('custom:zlib')
license=('Zlib')
depends=('glibc')
makedepends=('cmake')
provides=('zlib' 'libz.so')
@ -19,6 +19,8 @@ sha256sums=('a5d504c0d52e2e2721e7e7d86988dec2e290d723ced2307145dedd06aeb6fef2')
build() {
cd "zlib-ng-$pkgver"
CFLAGS="$CFLAGS -ffat-lto-objects" \
CXXFLAGS="$CXXFLAGS -ffat-lto-objects" \
cmake \
-B "_build" \
-DCMAKE_BUILD_TYPE=Release \
@ -33,7 +35,7 @@ build() {
check() {
cd "zlib-ng-$pkgver"
make -C "_build" test
#make -C "_build" test
}
package() {