31 lines
881 B
Bash
31 lines
881 B
Bash
# Template file for 'libzip'
|
|
pkgname=libzip
|
|
version=1.10.1
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="perl groff pkg-config"
|
|
makedepends="bzip2-devel openssl-devel zlib-devel liblzma-devel libzstd-devel"
|
|
short_desc="C library for reading, creating, and modifying zip archives"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://libzip.org/"
|
|
changelog="https://raw.githubusercontent.com/nih-at/libzip/master/NEWS.md"
|
|
distfiles="https://libzip.org/download/libzip-${version}.tar.gz"
|
|
checksum=9669ae5dfe3ac5b3897536dc8466a874c8cf2c0e3b1fdd08d75b273884299363
|
|
|
|
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
|
|
}
|
|
}
|