libzip: update to 1.5.0.

This commit is contained in:
maxice8 2018-03-12 14:27:16 -03:00 committed by Leаh Neukirchen
parent 3dd634b9de
commit 50728cc815
2 changed files with 3 additions and 39 deletions

View file

@ -1,36 +0,0 @@
From e9244b207c0fc883ff84c1fc46602feb1e2b0347 Mon Sep 17 00:00:00 2001
From: Thomas Klausner <tk@giga.or.at>
Date: Wed, 3 Jan 2018 11:41:57 +0100
Subject: [PATCH] Use 'cmake -E tar' to extract test data.
For easier cross-compilation (Github issue #21).
---
regress/CMakeLists.txt | 12 +++---------
1 file changed, 3 insertions(+), 9 deletions(-)
diff --git regress/CMakeLists.txt regress/CMakeLists.txt
index e2ce232..3a0d4f7 100644
--- regress/CMakeLists.txt
+++ regress/CMakeLists.txt
@@ -51,15 +51,9 @@ ADD_CUSTOM_TARGET(cleanup
ADD_CUSTOM_TARGET(testinput
ALL
VERBATIM
- COMMAND ziptool ${CMAKE_CURRENT_SOURCE_DIR}/manyfiles-zip.zip cat 0 > manyfiles.zip
- COMMAND ziptool ${CMAKE_CURRENT_SOURCE_DIR}/manyfiles-zip.zip cat 1 > manyfiles-133000.zip
- COMMAND ziptool ${CMAKE_CURRENT_SOURCE_DIR}/manyfiles-zip.zip cat 2 > manyfiles-65536.zip
- COMMAND ziptool ${CMAKE_CURRENT_SOURCE_DIR}/manyfiles-zip.zip cat 3 > manyfiles-zip64-modulo.zip
- COMMAND ziptool ${CMAKE_CURRENT_SOURCE_DIR}/manyfiles-zip.zip cat 4 > manyfiles-zip64.zip
- COMMAND ziptool ${CMAKE_CURRENT_SOURCE_DIR}/manyfiles-zip.zip cat 5 > manyfiles-fewer.zip
- COMMAND ziptool ${CMAKE_CURRENT_SOURCE_DIR}/manyfiles-zip.zip cat 6 > manyfiles-more.zip
- COMMAND ziptool ${CMAKE_CURRENT_SOURCE_DIR}/bigzero-zip.zip cat 0 > bigzero.zip
- DEPENDS ziptool ${CMAKE_CURRENT_SOURCE_DIR}/manyfiles-zip.zip ${CMAKE_CURRENT_SOURCE_DIR}/bigzero-zip.zip
+ COMMAND cmake -E tar x ${CMAKE_CURRENT_SOURCE_DIR}/manyfiles-zip.zip
+ COMMAND cmake -E tar x ${CMAKE_CURRENT_SOURCE_DIR}/bigzero-zip.zip
+ DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/manyfiles-zip.zip ${CMAKE_CURRENT_SOURCE_DIR}/bigzero-zip.zip
)
SET_PROPERTY(DIRECTORY PROPERTY ADDITIONAL_MAKE_CLEAN_FILES
--
2.15.1

View file

@ -1,16 +1,16 @@
# Template file for 'libzip'
pkgname=libzip
version=1.4.0
version=1.5.0
revision=1
build_style=cmake
hostmakedepends="perl"
makedepends="zlib-devel"
short_desc="C library for reading, creating, and modifying zip archives"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
license="BSD-3-Clause"
homepage="https://libzip.org/"
distfiles="https://libzip.org/download/libzip-${version}.tar.gz"
checksum=759a89690e155ca52247638b9f97e16e48fbb6077abb7ce2d921dd5b81259940
checksum=fd320f57a7de2f729aa6948a9487530e57e0ca8e4ef6b4e418b525a635ab689c
libzip-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"