vp-build/srcpkgs/pugixml/template

23 lines
669 B
Bash

# Template file for 'pugixml'
pkgname=pugixml
version=1.8.1
revision=1
build_style=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/v${version}/pugixml-$version.tar.gz"
checksum=00d974a1308e85ca0677a981adc1b2855cb060923181053fb0abf4e2f37b8f39
configure_args="-DBUILD_SHARED_LIBS=On"
wrksrc=$pkgname-1.8
pugixml-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
}
}