summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Avedissian2015-07-09 20:16:09 +0100
committerDavid Avedissian2015-07-09 20:16:09 +0100
commite3e0bd52f27e1ae868cc9ea1ddf279f3c80439b1 (patch)
tree3a2faed42524f4e9d2e65f60fb31b779ea693e1e
downloadaur-e3e0bd52f27e1ae868cc9ea1ddf279f3c80439b1.tar.gz
Initial import
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD28
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..14eaf831fc5
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = yaml-cpp0.3
+ pkgdesc = YAML parser and emitter in C++, written around the YAML 1.2 spec
+ pkgver = 0.3.0
+ pkgrel = 1
+ url = http://code.google.com/p/yaml-cpp/
+ arch = i686
+ arch = x86_64
+ license = MIT
+ makedepends = cmake
+ provides = yaml-cpp=0.3.0
+ conflicts = yaml-cpp
+ source = http://yaml-cpp.googlecode.com/files/yaml-cpp-0.3.0.tar.gz
+ md5sums = 9aa519205a543f9372bf4179071c8ac6
+
+pkgname = yaml-cpp0.3
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..3179c4dc848
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: 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=1
+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')
+makedepends=('cmake')
+conflicts=("yaml-cpp")
+provides=("yaml-cpp=$pkgver")
+source=(http://yaml-cpp.googlecode.com/files/yaml-cpp-$pkgver.tar.gz)
+md5sums=('9aa519205a543f9372bf4179071c8ac6')
+
+build() {
+ cd "$srcdir"/yaml-cpp
+
+ cmake . -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=ON
+ make
+}
+
+package() {
+ cd "$srcdir"/yaml-cpp
+
+ make DESTDIR="$pkgdir" install
+}