libzip: update to 1.9.2, adopt

This commit is contained in:
Subhaditya Nath 2022-07-09 22:33:02 +05:30 committed by classabbyamp
parent 9824b01bd8
commit 81d4b32a12
1 changed files with 3 additions and 8 deletions

View File

@ -1,22 +1,17 @@
# Template file for 'libzip'
pkgname=libzip
version=1.8.0
version=1.9.2
revision=1
build_style=cmake
hostmakedepends="perl groff pkg-config"
makedepends="bzip2-devel openssl-devel zlib-devel liblzma-devel libzstd-devel"
short_desc="C library for reading, creating, and modifying zip archives"
maintainer="Orphaned <orphan@voidlinux.org>"
maintainer="Subhaditya Nath <sn03.general@gmail.com>"
license="BSD-3-Clause"
homepage="https://libzip.org/"
changelog="https://raw.githubusercontent.com/nih-at/libzip/master/NEWS.md"
distfiles="https://libzip.org/download/libzip-${version}.tar.gz"
checksum=30ee55868c0a698d3c600492f2bea4eb62c53849bcf696d21af5eb65f3f3839e
post_patch() {
vsed -i lib/zip_crypto_openssl.c \
-e '/^#include <openssl\/rand\.h>/a #include <limits.h>'
}
checksum=fd6a7f745de3d69cf5603edc9cb33d2890f0198e415255d0987a0cf10d824c6f
post_install() {
vlicense LICENSE