[arch-commits] Commit in rapidjson/repos (community-any community-any/PKGBUILD)

Jonathan Steel jsteel at archlinux.org
Mon Oct 10 08:33:59 UTC 2016


    Date: Monday, October 10, 2016 @ 08:33:59
  Author: jsteel
Revision: 191800

archrelease: copy trunk to community-any

Added:
  rapidjson/repos/community-any/
  rapidjson/repos/community-any/PKGBUILD
    (from rev 191799, rapidjson/trunk/PKGBUILD)

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

Copied: rapidjson/repos/community-any/PKGBUILD (from rev 191799, rapidjson/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2016-10-10 08:33:59 UTC (rev 191800)
@@ -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=('badd12c511e081fec6c89c43a7027bce')
+
+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