pkgs/zlib-ng/PKGBUILD

30 lines
646 B
Text
Raw Normal View History

2023-12-05 04:47:04 +00:00
# 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
}