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

recipes/utils/json-c/PAGBUILD.yaml main

30 linii Raw ← Powrót
123456789101112131415161718192021222324252627282930
pkgname: 'json-c'
pkgver: '0.19'
pkgrel: '1'
pkgdesc: 'A JSON implementation in C'
url: 'https://github.com/json-c/json-c/wiki'
arch: x86_64
depends: []
makedepends:
- cmake

source:
- 'https://s3.amazonaws.com/${pkgname}_releases/releases/${pkgname}-${pkgver}.tar.gz'

sha256sums:
- SKIP

build: |
  cd ${pkgname}-${pkgver}
  mkdir build
  cd    build
  cmake   -DCMAKE_INSTALL_PREFIX=/usr \
          -DCMAKE_BUILD_TYPE=Release  \
          ..


  make || make -j1
  make DESTDIR=${PKGDIR} install    

package: |
  true