30 lines
816 B
Bash
30 lines
816 B
Bash
# Template file for 'pugixml'
|
|
pkgname=pugixml
|
|
version=1.13
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_SHARED_LIBS=On"
|
|
short_desc="Light-weight, simple and fast XML parser for C++ with XPath support"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="http://pugixml.org/"
|
|
distfiles="http://github.com/zeux/pugixml/releases/download/v${version}/pugixml-${version}.tar.gz"
|
|
checksum=40c0b3914ec131485640fa57e55bf1136446026b41db91c1bef678186a12abbe
|
|
|
|
post_install() {
|
|
tail -22 readme.txt > LICENSE
|
|
vlicense LICENSE
|
|
}
|
|
|
|
pugixml-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
conflicts+="EmulationStation libSavitar-devel"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/lib/cmake
|
|
}
|
|
}
|