libzip: update to 1.7.3.

This commit is contained in:
Andrew J. Hesford 2020-09-29 10:55:43 -04:00
parent ee3b7ca144
commit a1baf7489a
1 changed files with 9 additions and 4 deletions

View File

@ -1,16 +1,21 @@
# Template file for 'libzip'
pkgname=libzip
version=1.7.1
revision=2
version=1.7.3
revision=1
build_style=cmake
hostmakedepends="perl groff"
hostmakedepends="perl groff pkg-config"
makedepends="bzip2-devel libressl-devel zlib-devel liblzma-devel"
short_desc="C library for reading, creating, and modifying zip archives"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://libzip.org/"
distfiles="https://libzip.org/download/libzip-${version}.tar.gz"
checksum=b5957bff7eadfa76ec79c70a7c619729491ea62c384e2c9f5de1b34119dd3bce
checksum=0e2276c550c5a310d4ebf3a2c3dfc43fb3b4602a072ff625842ad4f3238cb9cc
post_patch() {
vsed -i lib/zip_crypto_openssl.c \
-e '/^#include <openssl\/rand\.h>/a #include <limits.h>'
}
post_install() {
vlicense LICENSE