# Template file for 'CastXML' pkgname=CastXML version=0.5.1 revision=2 build_style=cmake configure_args="-DSPHINX_MAN=YES -DCastXML_INSTALL_MAN_DIR=share/man" hostmakedepends="clang python3-Sphinx" makedepends="clang-tools-extra llvm" depends="clang" checkdepends="libxml2" short_desc="C-family abstract syntax tree XML output tool" maintainer="Evgeny Ermakov " license="Apache-2.0" homepage="https://github.com/CastXML/CastXML" distfiles="https://github.com/CastXML/CastXML/archive/refs/tags/v${version}.tar.gz" checksum=a7b40b1530585672f9cf5d7a6b6dd29f20c06cd5edf34ef34c89a184a4d1a006 post_install() { rm -r ${DESTDIR}/usr/share/castxml/clang/include ln -s /usr/lib/clang/$(clang -dumpversion)/include ${DESTDIR}/usr/share/castxml/clang/include rm ${DESTDIR}/usr/share/doc/castxml/{LICENSE,NOTICE} }