# Contributor: A. Wilcox <awilfox@adelielinux.org> # Maintainer: A. Wilcox <awilfox@adelielinux.org> pkgname=minizip pkgver=1.3 pkgrel=0 pkgdesc="Miniature ZIP archive manipulation library" url="https://zlib.net" arch="all" license="zlib" depends="" makedepends="autoconf automake libtool zlib-dev" subpackages="$pkgname-dev" source="https://zlib.net/zlib-$pkgver.tar.gz CVE-2023-45853.patch " builddir="$srcdir"/zlib-$pkgver/contrib/minizip prepare() { default_prepare autoreconf -vif } build() { ./configure \ --prefix=/usr \ --enable-shared make } check() { make check } package() { make DESTDIR="$pkgdir" install } sha512sums="185795044461cd78a5545250e06f6efdb0556e8d1bfe44e657b509dd6f00ba8892c8eb3febe65f79ee0b192d6af857f0e0055326d33a881449f3833f92e5f8fb zlib-1.3.tar.gz 06bb69fe70c3ad7b11e0cf43ff4f7e631010ccc9d74e736d2106d6bf7b4b0934da7c695011757b57511d176a2cf0b4955b854bb8e78a196abcf2792c40e9cea1 CVE-2023-45853.patch"