#!/bin/mkpkg # description: Documentation generator from annotated source code # url: https://www.doxygen.nl/ name=doxygen version=1.18.0 _ver=1_18_0 release=1 depends=() makedeps=(flex bison cmake python3) source=(https://github.com/doxygen/doxygen/archive/refs/tags/Release_$_ver.tar.gz) sha256sums=( "b32a3def78b0b75a2fd74ee6a63fb4a79cb6273fe31a570362e4e1871fa446da" ) patch() { cd $name-Release_$_ver sed -i '1i #include ' \ deps/spdlog/include/spdlog/fmt/bundled/format.h \ deps/fmt/include/fmt/format.h } build() { cd $name-Release_$_ver cmake -B build \ -DCMAKE_BUILD_TYPE=MinSizeRel \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_C_COMPILER=clang \ -DCMAKE_CXX_COMPILER=clang++ \ -DCMAKE_EXE_LINKER_FLAGS="-fuse-ld=lld -Wl" \ -Dbuild_doc=OFF \ -Dbuild_wizard=OFF \ -Duse_libclang=OFF \ -Duse_sys_spdlog=OFF \ -Duse_sys_fmt=OFF make -C build -j$(nproc) make -C build DESTDIR=$PKG install } signify() { untrusted comment: public key RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3 } # vim: filetype=sh