[arch-commits] Commit in orcania/repos (2 files)
Maxime Gauduin
alucryd at archlinux.org
Thu Mar 18 08:27:43 UTC 2021
Date: Thursday, March 18, 2021 @ 08:27:42
Author: alucryd
Revision: 894306
archrelease: copy trunk to community-staging-x86_64
Added:
orcania/repos/community-staging-x86_64/
orcania/repos/community-staging-x86_64/PKGBUILD
(from rev 894305, orcania/trunk/PKGBUILD)
----------+
PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
Copied: orcania/repos/community-staging-x86_64/PKGBUILD (from rev 894305, orcania/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2021-03-18 08:27:42 UTC (rev 894306)
@@ -0,0 +1,45 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=orcania
+pkgver=2.2.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=4bbd59954df2d34c05688dadb0e3fbb498acb25d
+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