# Template file for 'libzip'
pkgname=libzip
version=0.10.1
revision=1
build_style=gnu-configure
short_desc="C library for reading, creating, and modifying zip archives"
maintainer="pancake <pancake@nopcode.org>"
license="GPL-2"
homepage="http://www.nih.at/libzip/"
distfiles="${homepage}/${pkgname}-${version}.tar.gz"
checksum=a7cdb5112004db5147f330f16c0f0e732922c342b9f0cda422c45e254590b617

libzip-devel_package() {
	depends="${sourcepkg}>=${version}"
	short_desc="${short_desc} - development files"
	pkg_install() {
		vmove usr/share/man/man3
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.a"
		vmove usr/lib/libzip
	}
}

libzip_package() {
	pkg_install() {
		vmove usr
	}
}
