1 # Maintainer: Maxime Gauduin <alucryd@archlinux.org>
6 pkgdesc='C Database abstraction library with json based language'
8 url=https://github.com/babelouest/hoel
27 'postgresql-libs: PostgreSQL support'
28 'mariadb-libs: MariaDB support'
29 'sqlite: SQLite support'
32 _tag=be59ba35b1a6778d8b1a9c6d1788df17e6e92669
33 source=(git+https://github.com/babelouest/hoel.git#tag=${_tag})
34 validpgpkeys=(8405B02FCC28EF9744C8F253FE82139440BD22B9) # Nicolas Mora <nicolas@babelouest.org>
39 git describe --tags | sed 's/^v//'
43 cmake -S hoel -B build -G Ninja \
44 -DCMAKE_BUILD_TYPE=None \
45 -DCMAKE_INSTALL_PREFIX=/usr \
46 -DBUILD_HOEL_DOCUMENTATION=ON
51 DESTDIR="${pkgdir}" ninja -C build install
52 install -dm 755 "${pkgdir}"/usr/share/doc/hoel
53 cp -dr --no-preserve=ownership hoel/doc/html "${pkgdir}"/usr/share/doc/hoel/