[arch-commits] Commit in json-c/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Sun Jun 3 12:34:39 UTC 2018
Date: Sunday, June 3, 2018 @ 12:34:39
Author: jelle
Revision: 325623
archrelease: copy trunk to staging-x86_64
Added:
json-c/repos/staging-x86_64/
json-c/repos/staging-x86_64/PKGBUILD
(from rev 325622, json-c/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: json-c/repos/staging-x86_64/PKGBUILD (from rev 325622, json-c/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2018-06-03 12:34:39 UTC (rev 325623)
@@ -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