31 lines
871 B
Bash
31 lines
871 B
Bash
# Template file for 'pugixml'
|
|
pkgname=pugixml
|
|
version=1.14
|
|
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="https://pugixml.org/"
|
|
changelog="https://github.com/zeux/pugixml/releases"
|
|
distfiles="https://github.com/zeux/pugixml/releases/download/v${version}/pugixml-${version}.tar.gz"
|
|
checksum=2f10e276870c64b1db6809050a75e11a897a8d7456c4be5c6b2e35a11168a015
|
|
|
|
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
|
|
}
|
|
}
|