[arch-commits] Commit in jsoncpp/repos (4 files)
Anatol Pomozov
anatolik at archlinux.org
Mon Sep 26 17:15:45 UTC 2016
Date: Monday, September 26, 2016 @ 17:15:44
Author: anatolik
Revision: 276982
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
jsoncpp/repos/testing-i686/
jsoncpp/repos/testing-i686/PKGBUILD
(from rev 276981, jsoncpp/trunk/PKGBUILD)
jsoncpp/repos/testing-x86_64/
jsoncpp/repos/testing-x86_64/PKGBUILD
(from rev 276981, jsoncpp/trunk/PKGBUILD)
-------------------------+
testing-i686/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
testing-x86_64/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
2 files changed, 76 insertions(+)
Copied: jsoncpp/repos/testing-i686/PKGBUILD (from rev 276981, jsoncpp/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2016-09-26 17:15:44 UTC (rev 276982)
@@ -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.7.6
+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")
+sha1sums=('a38fbb7ed49900f62ea7c1618279b0091e3cb973')
+
+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/testing-x86_64/PKGBUILD (from rev 276981, jsoncpp/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2016-09-26 17:15:44 UTC (rev 276982)
@@ -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.7.6
+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")
+sha1sums=('a38fbb7ed49900f62ea7c1618279b0091e3cb973')
+
+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