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

Jonathan Steel jsteel at archlinux.org
Mon Jul 10 12:50:34 UTC 2017


    Date: Monday, July 10, 2017 @ 12:50:33
  Author: jsteel
Revision: 243612

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 243611, cpp-hocon/trunk/PKGBUILD)
  cpp-hocon/repos/community-testing-x86_64/
  cpp-hocon/repos/community-testing-x86_64/PKGBUILD
    (from rev 243611, 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 243611, cpp-hocon/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2017-07-10 12:50:33 UTC (rev 243612)
@@ -0,0 +1,34 @@
+# Maintainer: Jonathan Steel <jsteel at archlinux.org>
+
+pkgname=cpp-hocon
+pkgver=0.1.5
+pkgrel=2
+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=('b25210f66957b0239f1f2797bf27f1a5')
+
+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 243611, cpp-hocon/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2017-07-10 12:50:33 UTC (rev 243612)
@@ -0,0 +1,34 @@
+# Maintainer: Jonathan Steel <jsteel at archlinux.org>
+
+pkgname=cpp-hocon
+pkgver=0.1.5
+pkgrel=2
+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=('b25210f66957b0239f1f2797bf27f1a5')
+
+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
+}



More information about the arch-commits mailing list