[arch-commits] Commit in cjson/repos/community-x86_64 (PKGBUILD PKGBUILD)
Jelle van der Waa
jelle at gemini.archlinux.org
Mon Nov 1 12:38:03 UTC 2021
Date: Monday, November 1, 2021 @ 12:38:02
Author: jelle
Revision: 1035193
archrelease: copy trunk to community-x86_64
Added:
cjson/repos/community-x86_64/PKGBUILD
(from rev 1035192, cjson/trunk/PKGBUILD)
Deleted:
cjson/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 54 +++++++++++++++++++++++++++---------------------------
1 file changed, 27 insertions(+), 27 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-01 12:37:57 UTC (rev 1035192)
+++ PKGBUILD 2021-11-01 12:38:02 UTC (rev 1035193)
@@ -1,27 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at archlinux.org>
-
-pkgname=cjson
-pkgver=1.7.14
-pkgrel=1
-pkgdesc="Ultralightweight JSON parser in ANSI C"
-arch=(x86_64)
-license=("MIT")
-makedepends=("cmake")
-url="https://github.com/DaveGamble/cJSON"
-source=("$pkgname-$pkgver.tar.gz::https://github.com/DaveGamble/cJSON/archive/v$pkgver.tar.gz")
-sha512sums=('8de1dedc123ed025a9cbe6764e5963eb0550f726d06a8f6bedfe05b84e852cd9c1587cd381669663073967f42be894a535ba239013f304ce544c3b15a6477c01')
-
-build() {
- cmake -B build -S "cJSON-${pkgver}" -DENABLE_CJSON_UTILS=On -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib
- make -C build
-}
-
-check() {
- make -C build check
-}
-
-package() {
- make -C build DESTDIR="${pkgdir}" install
- install -Dm644 "$srcdir/cJSON-$pkgver/LICENSE" \
- "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
Copied: cjson/repos/community-x86_64/PKGBUILD (from rev 1035192, cjson/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-01 12:38:02 UTC (rev 1035193)
@@ -0,0 +1,27 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+
+pkgname=cjson
+pkgver=1.7.15
+pkgrel=1
+pkgdesc="Ultralightweight JSON parser in ANSI C"
+arch=(x86_64)
+license=("MIT")
+makedepends=("cmake")
+url="https://github.com/DaveGamble/cJSON"
+source=("$pkgname-$pkgver.tar.gz::https://github.com/DaveGamble/cJSON/archive/v$pkgver.tar.gz")
+sha512sums=('0b32a758c597fcc90c8ed0af493c9bccd611b9d4f9a03e87de3f7337bb9a28990b810befd44bc321a0cb42cbcd0b026d45761f9bab7bd798f920b7b6975fb124')
+
+build() {
+ cmake -B build -S "cJSON-${pkgver}" -DENABLE_CJSON_UTILS=On -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib
+ make -C build
+}
+
+check() {
+ make -C build check
+}
+
+package() {
+ make -C build DESTDIR="${pkgdir}" install
+ install -Dm644 "$srcdir/cJSON-$pkgver/LICENSE" \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
More information about the arch-commits
mailing list