[arch-commits] Commit in yaml-cpp/repos/community-x86_64 (PKGBUILD PKGBUILD)

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


    Date: Sunday, September 29, 2019 @ 22:36:23
  Author: svenstaro
Revision: 512146

archrelease: copy trunk to community-x86_64

Added:
  yaml-cpp/repos/community-x86_64/PKGBUILD
    (from rev 512145, yaml-cpp/trunk/PKGBUILD)
Deleted:
  yaml-cpp/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   86 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 43 insertions(+), 43 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-29 22:36:15 UTC (rev 512145)
+++ PKGBUILD	2019-09-29 22:36:23 UTC (rev 512146)
@@ -1,43 +0,0 @@
-# $Id$
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: Markus Martin <markus at archwyrm.net>
-
-pkgname=yaml-cpp
-pkgver=0.6.2
-pkgrel=1
-pkgdesc="YAML parser and emitter in C++, written around the YAML 1.2 spec"
-url="https://github.com/jbeder/yaml-cpp"
-arch=('x86_64')
-license=('MIT')
-depends=('gcc-libs')
-makedepends=('cmake')
-source=(https://github.com/jbeder/yaml-cpp/archive/yaml-cpp-${pkgver}.tar.gz)
-sha512sums=('fea8ce0a20a00cbc75023d1db442edfcd32d0ac57a3c41b32ec8d56f87cc1d85d7dd7a923ce662f5d3a315f91a736d6be0d649997acd190915c1d68cc93795e4')
-
-prepare() {
-    mkdir -p yaml-cpp-yaml-cpp-$pkgver/build
-}
-
-build() {
-    cd yaml-cpp-yaml-cpp-$pkgver/build
-    cmake .. \
-        -DCMAKE_INSTALL_PREFIX=/usr \
-        -DBUILD_SHARED_LIBS=ON \
-        -DCMAKE_BUILD_TYPE=Release
-    make
-}
-
-check() {
-    cd yaml-cpp-yaml-cpp-$pkgver/build
-    make test
-    test/run-tests
-}
-
-package() {
-    cd yaml-cpp-yaml-cpp-$pkgver
-
-    make -C build DESTDIR="$pkgdir" 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
-}

Copied: yaml-cpp/repos/community-x86_64/PKGBUILD (from rev 512145, yaml-cpp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-09-29 22:36:23 UTC (rev 512146)
@@ -0,0 +1,43 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Markus Martin <markus at archwyrm.net>
+
+pkgname=yaml-cpp
+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"
+arch=('x86_64')
+license=('MIT')
+depends=('gcc-libs')
+makedepends=('cmake')
+source=(https://github.com/jbeder/yaml-cpp/archive/yaml-cpp-${pkgver}.tar.gz)
+sha512sums=('68b9ce987cabc1dec79382f922de20cc2c222cb9c090ecb93dc686b048da5c917facf4fce6d8f72feea44b61e5a6770ed3b0c199c4cd4e6bde5b6245c09f8e49')
+
+prepare() {
+    mkdir -p yaml-cpp-yaml-cpp-$pkgver/build
+}
+
+build() {
+    cd yaml-cpp-yaml-cpp-$pkgver/build
+    cmake .. \
+        -DCMAKE_INSTALL_PREFIX=/usr \
+        -DBUILD_SHARED_LIBS=ON \
+        -DYAML_BUILD_SHARED_LIBS=ON \
+        -DCMAKE_BUILD_TYPE=Release
+    make
+}
+
+check() {
+    cd yaml-cpp-yaml-cpp-$pkgver/build
+    make test
+    test/run-tests
+}
+
+package() {
+    cd yaml-cpp-yaml-cpp-$pkgver
+
+    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