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

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

30 lines Raw ← Back
123456789101112131415161718192021222324252627282930
pkgname: 'json-c'
pkgver: '0.19'
pkgrel: '2'
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