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

Tim Meusel bastelfreak at gemini.archlinux.org
Fri Jul 16 09:01:26 UTC 2021


    Date: Friday, July 16, 2021 @ 09:01:25
  Author: bastelfreak
Revision: 977583

archrelease: copy trunk to community-testing-x86_64

Added:
  cpp-hocon/repos/community-testing-x86_64/
  cpp-hocon/repos/community-testing-x86_64/PKGBUILD
    (from rev 977582, cpp-hocon/trunk/PKGBUILD)

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

Copied: cpp-hocon/repos/community-testing-x86_64/PKGBUILD (from rev 977582, cpp-hocon/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2021-07-16 09:01:25 UTC (rev 977583)
@@ -0,0 +1,50 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: Thore Bödecker <foxxx0 at archlinux.org>
+# Contributor: Christian Rebischke <chris.rebischke at archlinux.org>
+# Contributor: Tim Meusel <tim at bastelfreak.de>
+
+pkgname=cpp-hocon
+pkgver=0.3.0
+pkgrel=9
+pkgdesc="C++ port of the Typesafe Config library"
+arch=('x86_64')
+url="https://github.com/puppetlabs/cpp-hocon"
+license=('APACHE')
+depends=('boost-libs' 'gcc-libs' 'glibc' 'leatherman' 'leatherman_util.so' 'leatherman_locale.so')
+makedepends=('boost' 'cmake' 'leatherman' 'rapidjson')
+checkdepends=('python')
+provides=('libcpp-hocon.so')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/puppetlabs/cpp-hocon/archive/$pkgver.tar.gz")
+sha512sums=('de997e6d90330f901863b7da0d6f6e069a31e052b6f31c1e3009a9559c863f08879ecf4e202c763ec32567dd3a1e436ff5d3bf0b3009a085ef3ee95e5ca6c7e5')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  :
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  cmake \
+    -B build \
+    -DCMAKE_BUILD_TYPE=None \
+    -DENABLE_CXX_WERROR=OFF \
+    -DCMAKE_INSTALL_PREFIX:PATH=/usr \
+    -DBUILD_SHARED_LIBS=ON
+  make -C build
+}
+
+check() {
+  cd "$pkgname-$pkgver"/build
+  make test
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+
+  make -C build install DESTDIR="$pkgdir"
+
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim: ts=2 sw=2 et:




More information about the arch-commits mailing list