[arch-commits] Commit in jsoncpp/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Sun Dec 3 12:29:27 UTC 2017


    Date: Sunday, December 3, 2017 @ 12:29:26
  Author: anthraxx
Revision: 311550

archrelease: copy trunk to extra-x86_64

Added:
  jsoncpp/repos/extra-x86_64/PKGBUILD
    (from rev 311549, jsoncpp/trunk/PKGBUILD)
Deleted:
  jsoncpp/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |  133 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 67 insertions(+), 66 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-03 12:29:16 UTC (rev 311549)
+++ PKGBUILD	2017-12-03 12:29:26 UTC (rev 311550)
@@ -1,66 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Jonahtan Schaeffer <joschaeffer at gmail.com>
-# COntributor: Drake Arconis <lightdrake at gmail.com>
-
-pkgbase=jsoncpp
-pkgname=('jsoncpp' 'jsoncpp-doc')
-pkgver=1.8.3
-pkgrel=1
-pkgdesc='C++ library for interacting with JSON'
-url='https://github.com/open-source-parsers/jsoncpp'
-arch=('x86_64')
-license=('MIT' 'custom:Public_Domain')
-makedepends=('gcc-libs' 'cmake' 'doxygen' 'graphviz' 'python')
-options=('staticlibs')
-source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/open-source-parsers/${pkgbase}/archive/${pkgver}.tar.gz)
-sha256sums=('3671ba6051e0f30849942cc66d1798fdf0362d089343a83f704c09ee7156604f')
-sha512sums=('a5170ccbc440c1bd2b365e34f7367a55731d4fa86b2d323d11431cead771127364bad9d8e2e59dcbe41bc111d11a5da94988dec5e40b9119f793f43e487d7429')
-
-prepare() {
-  cd ${pkgbase}-${pkgver}
-  mkdir -p build
-}
-
-build() {
-  cd ${pkgbase}-${pkgver}
-  python doxybuild.py --with-dot
-
-  cd build
-  cmake \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_INSTALL_LIBDIR=lib \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DBUILD_SHARED_LIBS=ON \
-    -DBUILD_STATIC_LIBS=ON \
-    ..
-  make
-}
-
-check() {
-  cd ${pkgbase}-${pkgver}/build
-  make test jsoncpp_test jsoncpp_readerwriter_tests
-}
-
-package_jsoncpp() {
-  depends=('gcc-libs')
-  optdepends=('jsoncpp-doc: documentation')
-
-  cd ${pkgbase}-${pkgver}
-  make -C build DESTDIR="${pkgdir}" install
-  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
-}
-
-package_jsoncpp-doc() {
-  pkgdesc+=' (documentation)'
-  optdepends=('jsoncpp')
-
-  cd ${pkgbase}-${pkgver}
-  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -dm 755 "${pkgdir}/usr/share/doc/${pkgbase}"
-  cp -a dist/doxygen/jsoncpp-api-html-${pkgver} "${pkgdir}/usr/share/doc/${pkgbase}/html"
-}
-
-# vim: ts=2 sw=2 et:

Copied: jsoncpp/repos/extra-x86_64/PKGBUILD (from rev 311549, jsoncpp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-12-03 12:29:26 UTC (rev 311550)
@@ -0,0 +1,67 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Jonahtan Schaeffer <joschaeffer at gmail.com>
+# COntributor: Drake Arconis <lightdrake at gmail.com>
+
+pkgbase=jsoncpp
+pkgname=('jsoncpp' 'jsoncpp-doc')
+pkgver=1.8.3
+pkgrel=2
+pkgdesc='C++ library for interacting with JSON'
+url='https://github.com/open-source-parsers/jsoncpp'
+arch=('x86_64')
+license=('MIT' 'custom:Public_Domain')
+makedepends=('gcc-libs' 'cmake' 'doxygen' 'graphviz' 'python')
+options=('staticlibs')
+source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/open-source-parsers/${pkgbase}/archive/${pkgver}.tar.gz)
+sha256sums=('3671ba6051e0f30849942cc66d1798fdf0362d089343a83f704c09ee7156604f')
+sha512sums=('a5170ccbc440c1bd2b365e34f7367a55731d4fa86b2d323d11431cead771127364bad9d8e2e59dcbe41bc111d11a5da94988dec5e40b9119f793f43e487d7429')
+
+prepare() {
+  cd ${pkgbase}-${pkgver}
+  mkdir -p build
+}
+
+build() {
+  cd ${pkgbase}-${pkgver}
+  python doxybuild.py --with-dot
+
+  cd build
+  cmake \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DBUILD_SHARED_LIBS=ON \
+    -DBUILD_STATIC_LIBS=ON \
+    -DJSONCPP_WITH_CMAKE_PACKAGE=ON \
+    ..
+  make
+}
+
+check() {
+  cd ${pkgbase}-${pkgver}/build
+  make test jsoncpp_test jsoncpp_readerwriter_tests
+}
+
+package_jsoncpp() {
+  depends=('gcc-libs')
+  optdepends=('jsoncpp-doc: documentation')
+
+  cd ${pkgbase}-${pkgver}
+  make -C build DESTDIR="${pkgdir}" install
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+package_jsoncpp-doc() {
+  pkgdesc+=' (documentation)'
+  optdepends=('jsoncpp')
+
+  cd ${pkgbase}-${pkgver}
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -dm 755 "${pkgdir}/usr/share/doc/${pkgbase}"
+  cp -a dist/doxygen/jsoncpp-api-html-${pkgver} "${pkgdir}/usr/share/doc/${pkgbase}/html"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list