[arch-commits] Commit in (4 files)

Jonathan Steel jsteel at archlinux.org
Mon Oct 10 08:30:48 UTC 2016


    Date: Monday, October 10, 2016 @ 08:30:47
  Author: jsteel
Revision: 191798

New dependency of leatherman

Added:
  rapidjson/
  rapidjson/repos/
  rapidjson/trunk/
  rapidjson/trunk/PKGBUILD

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Added: rapidjson/trunk/PKGBUILD
===================================================================
--- rapidjson/trunk/PKGBUILD	                        (rev 0)
+++ rapidjson/trunk/PKGBUILD	2016-10-10 08:30:47 UTC (rev 191798)
@@ -0,0 +1,30 @@
+# Maintainer:  Jonathan Steel <jsteel at archlinux.org>
+# Contributor: Yunhui Fu <yhfudev at gmail.com>
+
+pkgname=rapidjson
+pkgver=1.1.0
+pkgrel=1
+pkgdesc="A fast JSON parser/generator for C++ with both SAX/DOM style API"
+arch=('any')
+url="https://github.com/miloyip/rapidjson"
+license=('GPL')
+makedepends=('gcc' 'cmake')
+source=($pkgname-$pkgver.tar.gz::https://github.com/miloyip/$pkgname/archive/v$pkgver.tar.gz)
+md5sums=('a3e0d043ad3c2d7638ffefa3beb30a77c71c869f')
+
+build () {
+  cd $pkgname-$pkgver
+
+  mkdir -p build
+  cd build
+
+  cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr ..
+
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver/build
+
+  DESTDIR="$pkgdir" make install
+}



More information about the arch-commits mailing list