[arch-commits] Commit in jsoncpp/trunk (PKGBUILD)

Anatol Pomozov anatolik at archlinux.org
Fri Jul 8 22:14:03 UTC 2016


    Date: Friday, July 8, 2016 @ 22:14:03
  Author: anatolik
Revision: 271224

FS#49990 Fix pkgconfig file

Modified:
  jsoncpp/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-07-08 21:57:50 UTC (rev 271223)
+++ PKGBUILD	2016-07-08 22:14:03 UTC (rev 271224)
@@ -5,7 +5,7 @@
 
 pkgname=jsoncpp
 pkgver=1.7.3
-pkgrel=1
+pkgrel=2
 pkgdesc='A C++ library for interacting with JSON'
 url='https://github.com/open-source-parsers/jsoncpp'
 license=('MIT' 'custom:Public_Domain')
@@ -12,9 +12,16 @@
 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=('aff6bfb5b81d9a28785429faa45839c5')
+source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/open-source-parsers/${pkgname}/archive/${pkgver}.tar.gz"
+        fix_pkgconfig.patch::https://github.com/open-source-parsers/jsoncpp/commit/101fcf0806bbdf8a9202cabd668e650c9ce8cfb1.patch)
+md5sums=('aff6bfb5b81d9a28785429faa45839c5'
+         'b717297986fba231c97e16a9be40f3c9')
 
+prepare() {
+  cd ${pkgname}-${pkgver}
+  patch -p1 < ../fix_pkgconfig.patch
+}
+
 build() {
   cd ${pkgname}-${pkgver}
   cmake \



More information about the arch-commits mailing list