blob: 468836c8314cf1035bbfae4578acbfdbac10e33a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
#!/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 <cstdlib>' \
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
|