[arch-commits] Commit in orcania (3 files)

Maxime Gauduin alucryd at archlinux.org
Thu Jan 7 10:14:04 UTC 2021


    Date: Thursday, January 7, 2021 @ 10:14:03
  Author: alucryd
Revision: 811540

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: orcania/repos/community-staging-x86_64/PKGBUILD (from rev 811539, orcania/trunk/PKGBUILD)
===================================================================
--- repos/community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-staging-x86_64/PKGBUILD	2021-01-07 10:14:03 UTC (rev 811540)
@@ -0,0 +1,45 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=orcania
+pkgver=2.1.1
+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=934362dac0314fc329a113def26e232b28df58a5
+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