🔒 Repository is read-only – file editing is disabled.

recipes/utils/yaml-cpp/PAGBUILD.yaml main

30 linii Raw ← Powrót
123456789101112131415161718192021222324252627282930
pkgname: yaml-cpp
pkgver: '0.8.0'
pkgrel: '1'
pkgdesc: 'YAML parser and emitter for C++'
url: 'https://github.com/jbeder/yaml-cpp'
arch: x86_64
license:
- MIT

depends: []
makedepends:
- cmake
- ninja

source:
- 'https://github.com/jbeder/yaml-cpp/archive/refs/tags/${pkgver}.tar.gz'

sha256sums:
- SKIP

build: |
  cd yaml-cpp-${pkgver}
  cmake -S . -B build -G Ninja -DCMAKE_INSTALL_PREFIX=/usr \
    -DYAML_CPP_BUILD_TESTS=OFF -DYAML_CPP_BUILD_TOOLS=OFF \
    -DCMAKE_CXX_FLAGS="-include cstdint"
  cmake --build build

package: |
  cd yaml-cpp-${pkgver}
  DESTDIR=${PKGDIR} cmake --install build