blob: f8f7da3155c179cd319a7a821e128c83325d2134 (
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
|
# $Id: PKGBUILD 82852 2013-01-25 03:41:20Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Markus Martin <markus@archwyrm.net>
pkgname=yaml-cpp0.3
_pkgname=yaml-cpp
pkgver=0.3.0
pkgrel=2
pkgdesc="YAML parser and emitter in C++, written around the YAML 1.2 spec"
url="http://code.google.com/p/yaml-cpp/"
arch=('i686' 'x86_64')
license=('MIT')
conflicts=('yaml-cpp')
provides=('yaml-cpp=0.3')
makedepends=('cmake')
source=(http://yaml-cpp.googlecode.com/files/$_pkgname-$pkgver.tar.gz)
md5sums=('9aa519205a543f9372bf4179071c8ac6')
build() {
cd $srcdir/$_pkgname
cmake . -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=ON
make
}
package() {
cd $srcdir/$_pkgname
make DESTDIR=$pkgdir install
}
|