blob: 031e57bee93b941a8ccc101a3f70335c665cf2b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Maintainer: Nikolay Korotkiy <sikmir@gmail.com>
# Contributor: Andrzej Giniewicz <gginiu@gmail.com>
# Contributor: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Markus Martin <markus@archwyrm.net>
pkgname=yaml-cpp0.3
pkgver=0.3.0
pkgrel=2
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')
makedepends=('cmake')
conflicts=("yaml-cpp")
provides=("yaml-cpp=${pkgver}")
source=("${url}/archive/release-${pkgver}.tar.gz")
sha256sums=('ab8d0e07aa14f10224ed6682065569761f363ec44bc36fcdb2946f6d38fe5a89')
build() {
cd "${srcdir}/yaml-cpp-release-${pkgver}"
rm -rf build
mkdir -p build
cd build
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_SHARED_LIBS=ON
make
}
package() {
cd "${srcdir}/yaml-cpp-release-${pkgver}/build"
make DESTDIR="${pkgdir}" install
}
|