void-packages/srcpkgs/libzip/template
2018-04-30 17:11:46 +02:00

24 lines
706 B
Bash

# Template file for 'libzip'
pkgname=libzip
version=1.5.1
revision=2
build_style=cmake
hostmakedepends="perl groff"
makedepends="bzip2-devel libressl-devel zlib-devel"
short_desc="C library for reading, creating, and modifying zip archives"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="BSD-3-Clause"
homepage="https://libzip.org/"
distfiles="https://libzip.org/download/libzip-${version}.tar.gz"
checksum=47eaa45faa448c72bd6906e5a096846c469a185f293cafd8456abb165841b3f2
libzip-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/share/man/man3
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}