# Template file for 'pugixml'
pkgname=pugixml
version=1.6
revision=2
build_style=cmake
hostmakedepends="cmake"
short_desc="Light-weight, simple and fast XML parser for C++ with XPath support"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="MIT"
homepage="http://pugixml.org/"
distfiles="http://github.com/zeux/pugixml/releases/download/v1.6/pugixml-$version.tar.gz"
checksum=473705c496d45ee6a74f73622b175dfb5dde0de372c4dc61a5acb964516cd9de
build_wrksrc="scripts"

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