summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Aznarán Laos2021-09-29 10:38:29 -0500
committerCarlos Aznarán Laos2021-09-29 10:38:29 -0500
commita2704815ac3a1e22a6b83856f494e157853047a0 (patch)
treea0b8cb750bdb4eb7595937b24d4a5db02e6675bf
downloadaur-a2704815ac3a1e22a6b83856f494e157853047a0.tar.gz
Version bump to 2.8
-rw-r--r--.SRCINFO19
-rw-r--r--.gitignore1
-rw-r--r--PKGBUILD40
3 files changed, 60 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..e1101b7fe50a
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = dune-logging
+ pkgdesc = A logging framework for Dune
+ pkgver = 2.8
+ pkgrel = 1
+ url = https://gitlab.dune-project.org/staging/dune-logging
+ arch = x86_64
+ license = custom:BSD-2-clause
+ license = LGPL3
+ license = custom:GPL2 with runtime exception
+ makedepends = doxygen
+ makedepends = graphviz
+ depends = dune-common>=2.8.0
+ depends = fmt
+ optdepends = doxygen: Generate the class documentation from C++ sources
+ optdepends = graphviz: Graph visualization software
+ source = https://gitlab.dune-project.org/staging/dune-logging/-/archive/releases/2.8/dune-logging-releases-2.8.tar.gz
+ sha512sums = 3b57d0e57c55195ee20be617f308d8294c7fe87ac8b6d5fbc3d03e12229b6a9f331e4391651a6a8876ab2ffa3e147e10bfddae45dd5f700ca1ebe93f7f9b1215
+
+pkgname = dune-logging
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 000000000000..f59ec20aabf5
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+* \ No newline at end of file
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..100ad126da8e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Carlos Aznarán <caznaranl@uni.pe>
+# Maintainer: Josh Hoffer < hoffer dot joshua at gmail dot com >
+pkgname=dune-logging
+_tarver=2.8
+_tar="${_tarver}/${pkgname}-releases-${_tarver}.tar.gz"
+pkgver=${_tarver}
+pkgrel=1
+pkgdesc="A logging framework for Dune"
+arch=('x86_64')
+url="https://gitlab.dune-project.org/staging/${pkgname}"
+license=('custom:BSD-2-clause' 'LGPL3' 'custom:GPL2 with runtime exception')
+depends=('dune-common>=2.8.0' 'fmt')
+makedepends=('doxygen' 'graphviz')
+optdepends=('doxygen: Generate the class documentation from C++ sources'
+ 'graphviz: Graph visualization software')
+source=(${url}/-/archive/releases/${_tar})
+sha512sums=('3b57d0e57c55195ee20be617f308d8294c7fe87ac8b6d5fbc3d03e12229b6a9f331e4391651a6a8876ab2ffa3e147e10bfddae45dd5f700ca1ebe93f7f9b1215')
+
+build() {
+ cmake \
+ -S ${pkgname}-releases-${_tarver} \
+ -B build-cmake \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_SHARED_LIBS=TRUE \
+ -DCMAKE_CXX_STANDARD=17 \
+ -DCMAKE_C_COMPILER=gcc \
+ -DCMAKE_CXX_COMPILER=g++ \
+ -DCMAKE_POSITION_INDEPENDENT_CODE=TRUE \
+ -DENABLE_HEADERCHECK=ON \
+ -Wno-dev
+ cmake --build build-cmake --target all
+}
+
+package() {
+ DESTDIR="${pkgdir}" cmake --build build-cmake --target install
+ install -Dm644 ${pkgname}-releases-${_tarver}/COPYING.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ find "${pkgdir}" -type d -empty -delete
+}