30 lines
781 B
Bash
30 lines
781 B
Bash
# Template file for 'libzip'
|
|
pkgname=libzip
|
|
version=1.7.1
|
|
revision=2
|
|
build_style=cmake
|
|
hostmakedepends="perl groff"
|
|
makedepends="bzip2-devel libressl-devel zlib-devel liblzma-devel"
|
|
short_desc="C library for reading, creating, and modifying zip archives"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://libzip.org/"
|
|
distfiles="https://libzip.org/download/libzip-${version}.tar.gz"
|
|
checksum=b5957bff7eadfa76ec79c70a7c619729491ea62c384e2c9f5de1b34119dd3bce
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
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"
|
|
vmove usr/lib/cmake
|
|
}
|
|
}
|