void-packages/srcpkgs/libzip/template
2018-01-20 07:01:27 +01:00

24 lines
666 B
Bash

# Template file for 'libzip'
pkgname=libzip
version=1.4.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"
homepage="https://libzip.org/"
distfiles="https://libzip.org/download/libzip-${version}.tar.gz"
checksum=759a89690e155ca52247638b9f97e16e48fbb6077abb7ce2d921dd5b81259940
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"
}
}