void-packages/srcpkgs/libzip/template
2017-11-23 13:56:31 +00:00

25 lines
696 B
Bash

# Template file for 'libzip'
pkgname=libzip
version=1.3.2
revision=1
build_style=gnu-configure
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"
homepage="https://libzip.org/"
distfiles="https://libzip.org/download/libzip-${version}.tar.gz"
checksum=ab4c34eb6c3a08b678cd0f2450a6c57a13e9618b1ba34ee45d00eb5327316457
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/*.a"
vmove "usr/lib/*.so"
}
}