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

Felix Yan fyan at archlinux.org
Fri Feb 13 07:14:11 UTC 2015


    Date: Friday, February 13, 2015 @ 08:14:11
  Author: fyan
Revision: 231360

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

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

-------------------------+
 staging-i686/PKGBUILD   |   39 +++++++++++++++++++++++++++++++++++++++
 staging-x86_64/PKGBUILD |   39 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 78 insertions(+)

Copied: jsoncpp/repos/staging-i686/PKGBUILD (from rev 231359, jsoncpp/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-02-13 07:14:11 UTC (rev 231360)
@@ -0,0 +1,39 @@
+# $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.4.0
+pkgrel=1
+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=('50a2dd1cf84a7870584a786f069fc059')
+
+prepare() {
+  mkdir build
+}
+
+build() {
+  cd build
+  cmake ../${pkgname}-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DJSONCPP_LIB_BUILD_SHARED=ON \
+    -DJSONCPP_WITH_TESTS=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+
+  install -Dm644 "${srcdir}"/${pkgname}-${pkgver}/LICENSE \
+    "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
+

Copied: jsoncpp/repos/staging-x86_64/PKGBUILD (from rev 231359, jsoncpp/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-02-13 07:14:11 UTC (rev 231360)
@@ -0,0 +1,39 @@
+# $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.4.0
+pkgrel=1
+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=('50a2dd1cf84a7870584a786f069fc059')
+
+prepare() {
+  mkdir build
+}
+
+build() {
+  cd build
+  cmake ../${pkgname}-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DJSONCPP_LIB_BUILD_SHARED=ON \
+    -DJSONCPP_WITH_TESTS=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+
+  install -Dm644 "${srcdir}"/${pkgname}-${pkgver}/LICENSE \
+    "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
+



More information about the arch-commits mailing list