[arch-commits] Commit in yaml-cpp/repos (2 files)

Sven-Hendrik Haase svenstaro at archlinux.org
Sun Feb 4 04:27:28 UTC 2018


    Date: Sunday, February 4, 2018 @ 04:27:27
  Author: svenstaro
Revision: 288874

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: yaml-cpp/repos/community-staging-x86_64/PKGBUILD (from rev 288873, yaml-cpp/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-02-04 04:27:27 UTC (rev 288874)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Markus Martin <markus at archwyrm.net>
+
+pkgname=yaml-cpp
+pkgver=0.6.1
+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=('606482d1d38c6747e22604a24c119adb4b70287da7deadb94cc20d70df47122f1714ec9bfc8f566ecf075b94d48771df17430c50039cb984bdf1980f3b445791')
+
+build() {
+    cd yaml-cpp-yaml-cpp-$pkgver
+
+    cmake . -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=ON
+    make
+}
+
+package() {
+    cd yaml-cpp-yaml-cpp-$pkgver
+
+    make DESTDIR=$pkgdir install
+
+    install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list