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

Antonio Rojas arojas at gemini.archlinux.org
Sat Jun 18 18:43:51 UTC 2022


    Date: Saturday, June 18, 2022 @ 18:43:51
  Author: arojas
Revision: 1238527

archrelease: copy trunk to community-staging-x86_64

Added:
  orcania/repos/community-staging-x86_64/
  orcania/repos/community-staging-x86_64/PKGBUILD
    (from rev 1238526, orcania/trunk/PKGBUILD)

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

Copied: orcania/repos/community-staging-x86_64/PKGBUILD (from rev 1238526, orcania/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2022-06-18 18:43:51 UTC (rev 1238527)
@@ -0,0 +1,45 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=orcania
+pkgver=2.3.0
+pkgrel=1
+pkgdesc='Potluck with different functions for different purposes that can be shared among C programs'
+arch=(x86_64)
+url=https://github.com/babelouest/orcania
+license=(LGPL2.1)
+depends=(
+  glibc
+)
+makedepends=(
+  cmake
+  doxygen
+  git
+  graphviz
+  ninja
+)
+provides=(liborcania.so)
+_tag=f103652ef15a2e522679e63565ea270c34ee0380
+source=(git+https://github.com/babelouest/orcania.git#tag=${_tag})
+validpgpkeys=(8405B02FCC28EF9744C8F253FE82139440BD22B9) # Nicolas Mora <nicolas at babelouest.org>
+b2sums=(SKIP)
+
+pkgver() {
+  cd orcania
+  git describe --tags | sed 's/^v//'
+}
+
+build() {
+  cmake -S orcania -B build -G Ninja \
+    -DCMAKE_BUILD_TYPE=None \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DBUILD_ORCANIA_DOCUMENTATION=ON
+  ninja -C build doc
+}
+
+package() {
+  DESTDIR="${pkgdir}" ninja -C build install
+  install -dm 755 "${pkgdir}"/usr/share/doc/orcania
+  cp -dr --no-preserve=ownership orcania/doc/html "${pkgdir}"/usr/share/doc/orcania/
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list