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

Felix Yan felixonmars at gemini.archlinux.org
Sun Mar 6 17:40:13 UTC 2022


    Date: Sunday, March 6, 2022 @ 17:40:13
  Author: felixonmars
Revision: 1142806

archrelease: copy trunk to community-staging-x86_64

Added:
  rhonabwy/repos/community-staging-x86_64/
  rhonabwy/repos/community-staging-x86_64/PKGBUILD
    (from rev 1142805, rhonabwy/trunk/PKGBUILD)

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

Copied: rhonabwy/repos/community-staging-x86_64/PKGBUILD (from rev 1142805, rhonabwy/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2022-03-06 17:40:13 UTC (rev 1142806)
@@ -0,0 +1,54 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=rhonabwy
+pkgver=1.1.2
+pkgrel=2
+pkgdesc='JWK, JWKS, JWS, JWE and JWT C library'
+arch=(x86_64)
+url=https://github.com/babelouest/rhonabwy
+license=(LGPL2.1)
+depends=(
+  glibc
+  gnutls
+  jansson
+  libcurl.so
+  liborcania.so
+  libulfius.so
+  libyder.so
+  zlib
+)
+makedepends=(
+  cmake
+  doxygen
+  git
+  graphviz
+  ninja
+  systemd
+)
+provides=(librhonabwy.so)
+_tag=e4898061b3f99f6cdd8993f1d31ddd66301cf33b
+source=(git+https://github.com/babelouest/rhonabwy.git#tag=${_tag})
+validpgpkeys=(8405B02FCC28EF9744C8F253FE82139440BD22B9) # Nicolas Mora <nicolas at babelouest.org>
+b2sums=(SKIP)
+
+pkgver() {
+  cd rhonabwy
+  git describe --tags | sed 's/^v//'
+}
+
+build() {
+  export CFLAGS+=" -Wno-maybe-uninitialized -Wno-error=attribute-warning"
+  cmake -S rhonabwy -B build -G Ninja \
+    -DCMAKE_BUILD_TYPE=None \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DBUILD_RHONABWY_DOCUMENTATION=ON
+  ninja -C build doc
+}
+
+package() {
+  DESTDIR="${pkgdir}" ninja -C build install
+  install -dm 755 "${pkgdir}"/usr/share/doc/rhonabwy
+  cp -dr --no-preserve=ownership rhonabwy/doc/html "${pkgdir}"/usr/share/doc/rhonabwy/
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list