libzip: update to 1.9.2, adopt
This commit is contained in:
parent
9824b01bd8
commit
81d4b32a12
|
@ -1,22 +1,17 @@
|
||||||
# Template file for 'libzip'
|
# Template file for 'libzip'
|
||||||
pkgname=libzip
|
pkgname=libzip
|
||||||
version=1.8.0
|
version=1.9.2
|
||||||
revision=1
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
hostmakedepends="perl groff pkg-config"
|
hostmakedepends="perl groff pkg-config"
|
||||||
makedepends="bzip2-devel openssl-devel zlib-devel liblzma-devel libzstd-devel"
|
makedepends="bzip2-devel openssl-devel zlib-devel liblzma-devel libzstd-devel"
|
||||||
short_desc="C library for reading, creating, and modifying zip archives"
|
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"
|
license="BSD-3-Clause"
|
||||||
homepage="https://libzip.org/"
|
homepage="https://libzip.org/"
|
||||||
changelog="https://raw.githubusercontent.com/nih-at/libzip/master/NEWS.md"
|
changelog="https://raw.githubusercontent.com/nih-at/libzip/master/NEWS.md"
|
||||||
distfiles="https://libzip.org/download/libzip-${version}.tar.gz"
|
distfiles="https://libzip.org/download/libzip-${version}.tar.gz"
|
||||||
checksum=30ee55868c0a698d3c600492f2bea4eb62c53849bcf696d21af5eb65f3f3839e
|
checksum=fd6a7f745de3d69cf5603edc9cb33d2890f0198e415255d0987a0cf10d824c6f
|
||||||
|
|
||||||
post_patch() {
|
|
||||||
vsed -i lib/zip_crypto_openssl.c \
|
|
||||||
-e '/^#include <openssl\/rand\.h>/a #include <limits.h>'
|
|
||||||
}
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
|
Loading…
Reference in New Issue