This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

PKGBUILD for YAML-C++ 0.3

By: EasySly on May 15th, 2013  |  syntax: Bash  |  size: 0.55 KB  |  views: 35  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. pkgname=yaml-cpp0.3
  2. pkgver=0.3.0
  3. pkgrel=1
  4. pkgdesc="YAML parser and emitter in C++, written around the YAML 1.2 spec"
  5. url="http://code.google.com/p/yaml-cpp/"
  6. arch=('i686' 'x86_64')
  7. license=('MIT')
  8. makedepends=('cmake')
  9. conflicts=('yaml-cpp')
  10. source=(http://yaml-cpp.googlecode.com/files/yaml-cpp-$pkgver.tar.gz)
  11. md5sums=('9aa519205a543f9372bf4179071c8ac6')
  12.  
  13. build() {
  14.     cd $srcdir/yaml-cpp
  15.  
  16.     cmake . -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=ON
  17.     make
  18. }
  19.  
  20. package() {
  21.     cd $srcdir/yaml-cpp
  22.  
  23.     make DESTDIR=$pkgdir install
  24. }
clone this paste RAW Paste Data