PaganOS Luna 0.6.0
PL EN DE
🔒 Repository is read-only – file editing is disabled.

recipes/utils/cmark/PAGBUILD.yaml main

34 lines Raw ← Back
12345678910111213141516171819202122232425262728293031323334
pkgname: cmark
pkgver: '0.31.2'
pkgrel: '1'
pkgdesc: 'CommonMark parser and renderer (C library + cmark CLI)'
url: 'https://github.com/commonmark/cmark'
arch: x86_64
license:
- BSD-2-Clause

depends: []

makedepends:
- cmake
- ninja

source:
- 'https://github.com/commonmark/cmark/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz'
sha256sums:
- f9bc5ca38bcb0b727f0056100fac4d743e768872e3bacec7746de28f5700d697

build: |
  cd ${pkgname}-${pkgver}

  cmake -S . -B build -G Ninja \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_BUILD_TYPE=Release \
    -DBUILD_TESTING=OFF

  cmake --build build

  DESTDIR=${PKGDIR} cmake --install build

package: |
  true