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

Antonio Rojas arojas at archlinux.org
Sat Dec 1 11:28:42 UTC 2018


    Date: Saturday, December 1, 2018 @ 11:28:41
  Author: arojas
Revision: 410692

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   69 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 37 insertions(+), 32 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-12-01 11:28:19 UTC (rev 410691)
+++ PKGBUILD	2018-12-01 11:28:41 UTC (rev 410692)
@@ -1,32 +0,0 @@
-# Maintainer:  Jonathan Steel <jsteel at archlinux.org>
-# Contributor: Yunhui Fu <yhfudev at gmail.com>
-
-pkgname=rapidjson
-pkgver=1.1.0
-pkgrel=2
-pkgdesc="A fast JSON parser/generator for C++ with both SAX/DOM style API"
-arch=('any')
-url="https://github.com/miloyip/rapidjson"
-license=('MIT')
-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
-
-  install -Dm644 ../license.txt "$pkgdir"/usr/share/licenses/$pkgname/license.txt
-}

Copied: rapidjson/repos/community-any/PKGBUILD (from rev 410691, rapidjson/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-12-01 11:28:41 UTC (rev 410692)
@@ -0,0 +1,37 @@
+# Maintainer:  Jonathan Steel <jsteel at archlinux.org>
+# Contributor: Yunhui Fu <yhfudev at gmail.com>
+
+pkgname=rapidjson
+pkgver=1.1.0
+pkgrel=3
+pkgdesc="A fast JSON parser/generator for C++ with both SAX/DOM style API"
+arch=('any')
+url="https://github.com/miloyip/rapidjson"
+license=('MIT')
+makedepends=('gcc' 'cmake')
+source=($pkgname-$pkgver.tar.gz::https://github.com/miloyip/$pkgname/archive/v$pkgver.tar.gz)
+md5sums=('badd12c511e081fec6c89c43a7027bce')
+
+prepare() {
+  cd $pkgname-$pkgver
+  find -name CMakeLists.txt | xargs sed -e 's|-Werror||' -i # Don't use -Werror 
+}
+
+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
+
+  install -Dm644 ../license.txt "$pkgdir"/usr/share/licenses/$pkgname/license.txt
+}



More information about the arch-commits mailing list