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

Allan McRae allan at archlinux.org
Sun Dec 6 07:13:54 UTC 2015


    Date: Sunday, December 6, 2015 @ 08:13:54
  Author: allan
Revision: 252640

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  jsoncpp/repos/staging-i686/
  jsoncpp/repos/staging-i686/PKGBUILD
    (from rev 252639, jsoncpp/trunk/PKGBUILD)
  jsoncpp/repos/staging-x86_64/
  jsoncpp/repos/staging-x86_64/PKGBUILD
    (from rev 252639, jsoncpp/trunk/PKGBUILD)

-------------------------+
 staging-i686/PKGBUILD   |   38 ++++++++++++++++++++++++++++++++++++++
 staging-x86_64/PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+)

Copied: jsoncpp/repos/staging-i686/PKGBUILD (from rev 252639, jsoncpp/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-12-06 07:13:54 UTC (rev 252640)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Jonahtan Schaeffer <joschaeffer at gmail.com>
+# COntributor: Drake Arconis <lightdrake at gmail.com>
+
+pkgname=jsoncpp
+pkgver=1.6.5
+pkgrel=2
+pkgdesc='A C++ library for interacting with JSON'
+url='https://github.com/open-source-parsers/jsoncpp'
+license=('MIT' 'custom:Public_Domain')
+arch=('i686' 'x86_64')
+depends=('gcc-libs')
+makedepends=('cmake')
+source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/open-source-parsers/${pkgname}/archive/${pkgver}.tar.gz")
+md5sums=('2bb16bb8d2b867acbdd71d1855062a89')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  cmake \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DBUILD_SHARED_LIBS=ON \
+    -DBUILD_STATIC_LIBS=OFF
+  make
+}
+
+check() {
+  cd ${pkgname}-${pkgver}
+  make test
+}
+
+package() {
+  cd  ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+  install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
+

Copied: jsoncpp/repos/staging-x86_64/PKGBUILD (from rev 252639, jsoncpp/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-12-06 07:13:54 UTC (rev 252640)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Jonahtan Schaeffer <joschaeffer at gmail.com>
+# COntributor: Drake Arconis <lightdrake at gmail.com>
+
+pkgname=jsoncpp
+pkgver=1.6.5
+pkgrel=2
+pkgdesc='A C++ library for interacting with JSON'
+url='https://github.com/open-source-parsers/jsoncpp'
+license=('MIT' 'custom:Public_Domain')
+arch=('i686' 'x86_64')
+depends=('gcc-libs')
+makedepends=('cmake')
+source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/open-source-parsers/${pkgname}/archive/${pkgver}.tar.gz")
+md5sums=('2bb16bb8d2b867acbdd71d1855062a89')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  cmake \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DBUILD_SHARED_LIBS=ON \
+    -DBUILD_STATIC_LIBS=OFF
+  make
+}
+
+check() {
+  cd ${pkgname}-${pkgver}
+  make test
+}
+
+package() {
+  cd  ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+  install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
+



More information about the arch-commits mailing list