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

Sven-Hendrik Haase svenstaro at archlinux.org
Sun Sep 29 22:36:15 UTC 2019


    Date: Sunday, September 29, 2019 @ 22:36:15
  Author: svenstaro
Revision: 512145

upgpkg: yaml-cpp 0.6.3-1

Modified:
  yaml-cpp/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-29 22:18:28 UTC (rev 512144)
+++ PKGBUILD	2019-09-29 22:36:15 UTC (rev 512145)
@@ -2,7 +2,7 @@
 # Contributor: Markus Martin <markus at archwyrm.net>
 
 pkgname=yaml-cpp
-pkgver=0.6.2
+pkgver=0.6.3
 pkgrel=1
 pkgdesc="YAML parser and emitter in C++, written around the YAML 1.2 spec"
 url="https://github.com/jbeder/yaml-cpp"
@@ -11,7 +11,7 @@
 depends=('gcc-libs')
 makedepends=('cmake')
 source=(https://github.com/jbeder/yaml-cpp/archive/yaml-cpp-${pkgver}.tar.gz)
-sha512sums=('fea8ce0a20a00cbc75023d1db442edfcd32d0ac57a3c41b32ec8d56f87cc1d85d7dd7a923ce662f5d3a315f91a736d6be0d649997acd190915c1d68cc93795e4')
+sha512sums=('68b9ce987cabc1dec79382f922de20cc2c222cb9c090ecb93dc686b048da5c917facf4fce6d8f72feea44b61e5a6770ed3b0c199c4cd4e6bde5b6245c09f8e49')
 
 prepare() {
     mkdir -p yaml-cpp-yaml-cpp-$pkgver/build
@@ -22,6 +22,7 @@
     cmake .. \
         -DCMAKE_INSTALL_PREFIX=/usr \
         -DBUILD_SHARED_LIBS=ON \
+        -DYAML_BUILD_SHARED_LIBS=ON \
         -DCMAKE_BUILD_TYPE=Release
     make
 }
@@ -35,7 +36,7 @@
 package() {
     cd yaml-cpp-yaml-cpp-$pkgver
 
-    make -C build DESTDIR="$pkgdir" install
+    DESTDIR="$pkgdir" make -C build install
     install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
     # avoid conflicting gtest/gmock files
     rm -rf "$pkgdir"/usr/include/{gmock,gtest} "$pkgdir"/usr/lib/lib{gmock,gtest}*.so


More information about the arch-commits mailing list