1 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
2 # Maintainer: Thore Bödecker <foxxx0@archlinux.org>
3 # Contributor: Christian Rebischke <chris.rebischke@archlinux.org>
4 # Contributor: Tim Meusel <tim@bastelfreak.de>
9 pkgdesc="C++ port of the Typesafe Config library"
11 url="https://github.com/puppetlabs/cpp-hocon"
13 depends=('boost-libs' 'gcc-libs' 'glibc' 'leatherman' 'leatherman_util.so' 'leatherman_locale.so')
14 makedepends=('boost' 'cmake' 'leatherman' 'rapidjson')
15 checkdepends=('python')
16 provides=('libcpp-hocon.so')
17 source=("$pkgname-$pkgver.tar.gz::https://github.com/puppetlabs/cpp-hocon/archive/$pkgver.tar.gz")
18 sha512sums=('de997e6d90330f901863b7da0d6f6e069a31e052b6f31c1e3009a9559c863f08879ecf4e202c763ec32567dd3a1e436ff5d3bf0b3009a085ef3ee95e5ca6c7e5')
30 -DCMAKE_BUILD_TYPE=None \
31 -DENABLE_CXX_WERROR=OFF \
32 -DCMAKE_INSTALL_PREFIX:PATH=/usr \
33 -DBUILD_SHARED_LIBS=ON
38 cd "$pkgname-$pkgver"/build
45 make -C build install DESTDIR="$pkgdir"
47 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"