[arch-commits] Commit in yder/repos (2 files)

Evangelos Foutras foutrelis at gemini.archlinux.org
Sun Mar 6 15:25:44 UTC 2022


    Date: Sunday, March 6, 2022 @ 15:25:43
  Author: foutrelis
Revision: 1142355

archrelease: copy trunk to community-staging-x86_64

Added:
  yder/repos/community-staging-x86_64/
  yder/repos/community-staging-x86_64/PKGBUILD
    (from rev 1142354, yder/trunk/PKGBUILD)

----------+
 PKGBUILD |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

Copied: yder/repos/community-staging-x86_64/PKGBUILD (from rev 1142354, yder/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2022-03-06 15:25:43 UTC (rev 1142355)
@@ -0,0 +1,48 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=yder
+pkgver=1.4.14
+pkgrel=3
+pkgdesc='Logging library for C applications'
+arch=(x86_64)
+url=https://github.com/babelouest/yder
+license=(LGPL2.1)
+depends=(
+  glibc
+  liborcania.so
+  libsystemd.so
+)
+makedepends=(
+  cmake
+  doxygen
+  git
+  graphviz
+  ninja
+  systemd
+)
+provides=(libyder.so)
+_tag=2c2cd0b4f428aa1ece0f4637897d3e1fd3ec0bd6
+source=(git+https://github.com/babelouest/yder.git#tag=${_tag})
+validpgpkeys=(8405B02FCC28EF9744C8F253FE82139440BD22B9) # Nicolas Mora <nicolas at babelouest.org>
+b2sums=(SKIP)
+
+pkgver() {
+  cd yder
+  git describe --tags | sed 's/^v//'
+}
+
+build() {
+  cmake -S yder -B build -G Ninja \
+    -DCMAKE_BUILD_TYPE=None \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DBUILD_YDER_DOCUMENTATION=ON
+  ninja -C build doc
+}
+
+package() {
+  DESTDIR="${pkgdir}" ninja -C build install
+  install -dm 755 "${pkgdir}"/usr/share/doc
+  cp -dr --no-preserve=ownership yder/doc/html "${pkgdir}"/usr/share/doc/yder/
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list