[arch-commits] Commit in rhonabwy/repos (2 files)
Antonio Rojas
arojas at gemini.archlinux.org
Sat Jun 18 18:53:36 UTC 2022
Date: Saturday, June 18, 2022 @ 18:53:35
Author: arojas
Revision: 1238537
archrelease: copy trunk to community-staging-x86_64
Added:
rhonabwy/repos/community-staging-x86_64/
rhonabwy/repos/community-staging-x86_64/PKGBUILD
(from rev 1238536, rhonabwy/trunk/PKGBUILD)
----------+
PKGBUILD | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 54 insertions(+)
Copied: rhonabwy/repos/community-staging-x86_64/PKGBUILD (from rev 1238536, rhonabwy/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2022-06-18 18:53:35 UTC (rev 1238537)
@@ -0,0 +1,54 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=rhonabwy
+pkgver=1.1.6
+pkgrel=1
+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=775a8e82719571ab8328a0782bcf40133ec65bfd
+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