pkgs/zlib-ng/PKGBUILD

29 lines
625 B
Bash

# Maintainer: Daryl Ronningen <relms@relms.dev>
pkgname=zlib-ng
pkgver=2.1.5
pkgrel=1
pkgdesc="zlib replacement with optimizations for next generation systems"
url="https://github.com/zlib-ng/zlib-ng"
arch=("x86_64")
provices=("zlib")
license=("custom:zlib")
source=("$url/archive/refs/tags/$pkgver/$pkgname-$pkgver.tar.gz")
sha256sums=("3f6576971397b379d4205ae5451ff5a68edf6c103b2f03c4188ed7075fbb5f04")
build() {
cd "$pkgname-$pkgver"
./configure \
--prefix=/usr \
--zlib-compat
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR=$pkgdir install
ln -s libz.so.1.3.0.zlib-ng $pkgdir/usr/lib/libz.so.2.1.5
}