# Template file for 'proplib'
pkgname=proplib
version=0.6.4
revision=2
wrksrc="portableproplib-${version}"
build_style=gnu-configure
hostmakedepends="automake libtool"
makedepends="zlib-devel"
short_desc="Portable Property container object library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="Simplified BSD"
homepage="https://github.com/xtraeme/portableproplib"
distfiles="https://github.com/xtraeme/portableproplib/archive/${version}.tar.gz"
checksum=b2edac8977fa2e569e8664976d9c27f272bcf13f1aa921e853f129b7fd6b5d86

pre_configure() {
	./bootstrap
}

proplib-devel_package() {
	depends="zlib-devel ${sourcepkg}-${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/share
		vmove "usr/lib/*.a"
		vmove "usr/lib/*.so"
		vmove usr/lib/pkgconfig
	}
}
