Date: Monday, October 30, 2017 @ 11:56:46 Author: jsteel Revision: 264760
archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: cpp-hocon/repos/community-testing-i686/ cpp-hocon/repos/community-testing-i686/PKGBUILD (from rev 264759, cpp-hocon/trunk/PKGBUILD) cpp-hocon/repos/community-testing-x86_64/ cpp-hocon/repos/community-testing-x86_64/PKGBUILD (from rev 264759, cpp-hocon/trunk/PKGBUILD) -----------------------------------+ community-testing-i686/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ community-testing-x86_64/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) Copied: cpp-hocon/repos/community-testing-i686/PKGBUILD (from rev 264759, cpp-hocon/trunk/PKGBUILD) =================================================================== --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2017-10-30 11:56:46 UTC (rev 264760) @@ -0,0 +1,34 @@ +# Maintainer: Jonathan Steel <jsteel at archlinux.org> + +pkgname=cpp-hocon +pkgver=0.1.6 +pkgrel=1 +pkgdesc="C++ port of the Typesafe Config library" +arch=('i686' 'x86_64') +url="https://github.com/puppetlabs/cpp-hocon" +license=('APACHE') +makedepends=('boost' 'cmake' 'leatherman') +source=($pkgname-$pkgver.tar.gz::https://github.com/puppetlabs/cpp-hocon/archive/$pkgver.tar.gz) +md5sums=('e76992d0346067756ca66c768f714a87') + +build() { + cd $pkgname-$pkgver + + cmake -DCMAKE_INSTALL_PREFIX=/usr + + make +} + +check() { + cd $pkgname-$pkgver + + make test +} + +package() { + cd $pkgname-$pkgver + + make install DESTDIR="$pkgdir" + + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} Copied: cpp-hocon/repos/community-testing-x86_64/PKGBUILD (from rev 264759, cpp-hocon/trunk/PKGBUILD) =================================================================== --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2017-10-30 11:56:46 UTC (rev 264760) @@ -0,0 +1,34 @@ +# Maintainer: Jonathan Steel <jsteel at archlinux.org> + +pkgname=cpp-hocon +pkgver=0.1.6 +pkgrel=1 +pkgdesc="C++ port of the Typesafe Config library" +arch=('i686' 'x86_64') +url="https://github.com/puppetlabs/cpp-hocon" +license=('APACHE') +makedepends=('boost' 'cmake' 'leatherman') +source=($pkgname-$pkgver.tar.gz::https://github.com/puppetlabs/cpp-hocon/archive/$pkgver.tar.gz) +md5sums=('e76992d0346067756ca66c768f714a87') + +build() { + cd $pkgname-$pkgver + + cmake -DCMAKE_INSTALL_PREFIX=/usr + + make +} + +check() { + cd $pkgname-$pkgver + + make test +} + +package() { + cd $pkgname-$pkgver + + make install DESTDIR="$pkgdir" + + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}