25 lines
673 B
Bash
25 lines
673 B
Bash
# Template file for 'libzip'
|
|
pkgname=libzip
|
|
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="BSD-3-Clause"
|
|
homepage="https://libzip.org/"
|
|
distfiles="https://libzip.org/download/libzip-${version}.tar.gz"
|
|
checksum=fd320f57a7de2f729aa6948a9487530e57e0ca8e4ef6b4e418b525a635ab689c
|
|
|
|
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"
|
|
}
|
|
}
|