[arch-commits] Commit in json-c/repos (3 files)

Jelle van der Waa jelle at archlinux.org
Wed Jun 6 07:06:13 UTC 2018


    Date: Wednesday, June 6, 2018 @ 07:06:12
  Author: jelle
Revision: 326002

db-move: moved json-c from [staging] to [testing] (x86_64)

Added:
  json-c/repos/testing-x86_64/
  json-c/repos/testing-x86_64/PKGBUILD
    (from rev 326001, json-c/repos/staging-x86_64/PKGBUILD)
Deleted:
  json-c/repos/staging-x86_64/

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Copied: json-c/repos/testing-x86_64/PKGBUILD (from rev 326001, json-c/repos/staging-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2018-06-06 07:06:12 UTC (rev 326002)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Geoffroy Carrier <geoffroy.carrier at koon.fr>
+# Contributor: congyiwu <congyiwu AT gmail DOT com>
+
+pkgname=json-c
+pkgver=0.13.1
+pkgrel=1
+pkgdesc='A JSON implementation in C'
+url='https://github.com/json-c/json-c/wiki'
+license=(MIT)
+arch=('x86_64')
+depends=('glibc')
+_releasedate=20180305
+source=("https://github.com/json-c/json-c/archive/json-c-${pkgver}-${_releasedate}.tar.gz")
+sha256sums=('5d867baeb7f540abe8f3265ac18ed7a24f91fe3c5f4fd99ac3caba0708511b90')
+
+build() {
+  cd $pkgname-$pkgname-$pkgver-$_releasedate
+  ./configure --prefix=/usr --disable-static
+  make
+}
+
+check() {
+  cd $pkgname-$pkgname-$pkgver-$_releasedate
+  make check
+}
+
+package() {
+  cd $pkgname-$pkgname-$pkgver-$_releasedate
+  make DESTDIR="$pkgdir" install
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}



More information about the arch-commits mailing list