28 lines
748 B
Bash
28 lines
748 B
Bash
# Template file for 'libzip'
|
|
pkgname=libzip
|
|
version=1.5.2
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="perl groff"
|
|
makedepends="bzip2-devel libressl-devel zlib-devel"
|
|
short_desc="C library for reading, creating, and modifying zip archives"
|
|
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://libzip.org/"
|
|
distfiles="https://libzip.org/download/libzip-${version}.tar.gz"
|
|
checksum=be694a4abb2ffe5ec02074146757c8b56084dbcebf329123c84b205417435e15
|
|
|
|
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"
|
|
}
|
|
}
|