# Maintainer: Natanael Copa pkgname=doxygen pkgver=1.9.7 pkgrel=0 pkgdesc="Documentation system for C++, C, Java, IDL and PHP" url="https://www.doxygen.nl/" arch="all" license="GPL-2.0-or-later" checkdepends="libxml2-utils" makedepends="flex bison coreutils perl python3 cmake samurai" source="https://doxygen.nl/files/doxygen-$pkgver.src.tar.gz" build() { cmake -B build -G Ninja \ -DGIT_EXECUTABLE=/bin/false \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=MinSizeRel \ -Dbuild_xmlparser=ON cmake --build build } check() { # Remove test that use bibtex rm -f ./testing/012_cite.dox cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E 061 } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 618ff58aa6f0a2eb89f95b570995ea3ebbcda64f502cabcecd9be2967abffb56d0d6747de0c06df422705919757e6af9c6e5a56ca603b1ddf7a09a7ee79b1803 doxygen-1.9.7.src.tar.gz "