Date: Monday, December 7, 2015 @ 00:15:28 Author: foutrelis Revision: 149349
archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: yaml-cpp/repos/community-staging-i686/ yaml-cpp/repos/community-staging-i686/PKGBUILD (from rev 149348, yaml-cpp/trunk/PKGBUILD) yaml-cpp/repos/community-staging-x86_64/ yaml-cpp/repos/community-staging-x86_64/PKGBUILD (from rev 149348, yaml-cpp/trunk/PKGBUILD) -----------------------------------+ community-staging-i686/PKGBUILD | 33 +++++++++++++++++++++++++++++++++ community-staging-x86_64/PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) Copied: yaml-cpp/repos/community-staging-i686/PKGBUILD (from rev 149348, yaml-cpp/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2015-12-06 23:15:28 UTC (rev 149349) @@ -0,0 +1,33 @@ +# $Id$ +# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> +# Contributor: Markus Martin <mar...@archwyrm.net> + +pkgname=yaml-cpp +pkgver=0.5.2 +pkgrel=5 +pkgdesc="YAML parser and emitter in C++, written around the YAML 1.2 spec" +url="https://github.com/jbeder/yaml-cpp" +arch=('i686' 'x86_64') +license=('MIT') +depends=('gcc-libs') +makedepends=('boost' 'cmake') +source=(https://github.com/jbeder/yaml-cpp/archive/release-${pkgver}.tar.gz) +md5sums=('2728af8a15e2b2c407730c45b99b274b') + +build() { + cd $srcdir/$pkgname-release-$pkgver + + cmake . -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=ON + make +} + +package() { + cd $srcdir/$pkgname-release-$pkgver + + make DESTDIR=$pkgdir install + + install -Dm644 yaml-cpp-config.cmake $pkgdir/usr/lib/cmake/${pkgname}/yaml-cpp-config.cmake + install -Dm644 yaml-cpp-config-version.cmake $pkgdir/usr/lib/cmake/${pkgname}/yaml-cpp-config-version.cmake + + install -Dm644 license.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE +} Copied: yaml-cpp/repos/community-staging-x86_64/PKGBUILD (from rev 149348, yaml-cpp/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2015-12-06 23:15:28 UTC (rev 149349) @@ -0,0 +1,33 @@ +# $Id$ +# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> +# Contributor: Markus Martin <mar...@archwyrm.net> + +pkgname=yaml-cpp +pkgver=0.5.2 +pkgrel=5 +pkgdesc="YAML parser and emitter in C++, written around the YAML 1.2 spec" +url="https://github.com/jbeder/yaml-cpp" +arch=('i686' 'x86_64') +license=('MIT') +depends=('gcc-libs') +makedepends=('boost' 'cmake') +source=(https://github.com/jbeder/yaml-cpp/archive/release-${pkgver}.tar.gz) +md5sums=('2728af8a15e2b2c407730c45b99b274b') + +build() { + cd $srcdir/$pkgname-release-$pkgver + + cmake . -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=ON + make +} + +package() { + cd $srcdir/$pkgname-release-$pkgver + + make DESTDIR=$pkgdir install + + install -Dm644 yaml-cpp-config.cmake $pkgdir/usr/lib/cmake/${pkgname}/yaml-cpp-config.cmake + install -Dm644 yaml-cpp-config-version.cmake $pkgdir/usr/lib/cmake/${pkgname}/yaml-cpp-config-version.cmake + + install -Dm644 license.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE +}