[arch-commits] Commit in json-c/repos (3 files)
Jelle van der Waa
jelle at archlinux.org
Fri Dec 29 14:14:58 UTC 2017
Date: Friday, December 29, 2017 @ 14:14:57
Author: jelle
Revision: 313760
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 313759, 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 313759, json-c/repos/staging-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2017-12-29 14:14:57 UTC (rev 313760)
@@ -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
+pkgrel=1
+pkgdesc='A JSON implementation in C'
+url='https://github.com/json-c/json-c/wiki'
+license=(MIT)
+arch=('x86_64')
+depends=('glibc')
+source=('https://github.com/json-c/json-c/archive/json-c-0.13-20171207.tar.gz')
+sha256sums=('26e642456caab38aa9459279b9712ffec52f751e9f46641d28461c244bd6bae6')
+
+build() {
+ cd $pkgname-$pkgname-$pkgver-20171207
+ CFLAGS="$CFLAGS -Wno-error"
+ ./configure --prefix=/usr --disable-static
+ make
+}
+
+check() {
+ cd $pkgname-$pkgname-$pkgver-20171207
+ make check
+}
+
+package() {
+ cd $pkgname-$pkgname-$pkgver-20171207
+ make DESTDIR="$pkgdir" install
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
More information about the arch-commits
mailing list