1 # Maintainer: Maxime Gauduin <alucryd@archlinux.org>
6 pkgdesc='Logging library for C applications'
8 url=https://github.com/babelouest/yder
24 _tag=e9261ffc5215c9d8f21a709a3c6bba01c00f8c7d
25 source=(git+https://github.com/babelouest/yder.git#tag=${_tag})
26 validpgpkeys=(8405B02FCC28EF9744C8F253FE82139440BD22B9) # Nicolas Mora <nicolas@babelouest.org>
31 git describe --tags | sed 's/^v//'
35 cmake -S yder -B build -G Ninja \
36 -DCMAKE_BUILD_TYPE=None \
37 -DCMAKE_INSTALL_PREFIX=/usr \
38 -DBUILD_YDER_DOCUMENTATION=ON
43 DESTDIR="${pkgdir}" ninja -C build install
44 install -dm 755 "${pkgdir}"/usr/share/doc
45 cp -dr --no-preserve=ownership yder/doc/html "${pkgdir}"/usr/share/doc/yder/