# Contributor: Mark Riedesel # Maintainer: Jakub Jirutka pkgname=yaml-cpp pkgver=0.6.2 pkgrel=0 pkgdesc="YAML parser and emitter in C++ matching YAML 1.2 spec" url="https://github.com/jbeder/yaml-cpp" arch="all" license="MIT" depends="" makedepends="cmake" subpackages="$pkgname-dev" options="!check" source="https://github.com/jbeder/yaml-cpp/archive/yaml-cpp-$pkgver.tar.gz" builddir="$srcdir/$pkgname-$pkgname-$pkgver" build() { cd "$builddir" mkdir -p build && cd build cmake .. \ -DCMAKE_INSTALL_PREFIX=/usr \ -DBUILD_SHARED_LIBS=ON make } package() { cd "$builddir"/build make DESTDIR="$pkgdir" install } sha512sums="fea8ce0a20a00cbc75023d1db442edfcd32d0ac57a3c41b32ec8d56f87cc1d85d7dd7a923ce662f5d3a315f91a736d6be0d649997acd190915c1d68cc93795e4 yaml-cpp-0.6.2.tar.gz"