diff options
| author | rawnix ports <ports@rawnix.org> | 2026-09-26 18:19:05 +0000 |
|---|---|---|
| committer | rawnix ports <ports@rawnix.org> | 2026-09-26 18:19:05 +0000 |
| commit | c82e88dd00d1b0b7fcfb4e5628d99611388cef6f (patch) | |
| tree | 56d864b5a5c6c145edd96178ae219a8f90e191a6 /libs/json-c/MAKEPKG | |
| download | ports-c82e88dd00d1b0b7fcfb4e5628d99611388cef6f.tar.gz | |
sync 2026-09-26 18:19 UTC
1672 files changed, 151396 insertions(+)
Diffstat (limited to 'libs/json-c/MAKEPKG')
| -rw-r--r-- | libs/json-c/MAKEPKG | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/libs/json-c/MAKEPKG b/libs/json-c/MAKEPKG new file mode 100644 index 0000000..a64af50 --- /dev/null +++ b/libs/json-c/MAKEPKG @@ -0,0 +1,32 @@ +#!/bin/mkpkg +# description: JSON implementation in C +# url: https://github.com/json-c/json-c + +name=json-c +version=0.19 +release=1 +makedeps=(cmake ninja) +source=(https://s3.amazonaws.com/json-c_releases/releases/$name-$version.tar.gz) + +sha256sums=( + "37ad0249902e301bd9052bf712e511fcc6acff4ecaad4b5900aad9ce564e26de" +) + +build() { + cmake -S $name-$version -B build -G Ninja \ + -D CMAKE_INSTALL_PREFIX=/usr \ + -D CMAKE_INSTALL_LIBDIR=lib \ + -D CMAKE_BUILD_TYPE=Release \ + -D BUILD_TESTING=OFF \ + -D CMAKE_POLICY_VERSION_MINIMUM=3.5 + + cmake --build build + DESTDIR=$PKG cmake --install build +} + +signify() { + untrusted comment: public key + RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3 +} + +# vim: filetype=sh |
