[arch-commits] Commit in (json-c json-c/repos json-c/trunk json-c/trunk/PKGBUILD)
Jan Steffens
heftig at archlinux.org
Wed Aug 31 22:07:43 UTC 2011
Date: Wednesday, August 31, 2011 @ 18:07:43
Author: heftig
Revision: 136740
Commit json-c
Added:
json-c/
json-c/repos/
json-c/trunk/
json-c/trunk/PKGBUILD
----------+
PKGBUILD | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
Added: json-c/trunk/PKGBUILD
===================================================================
--- json-c/trunk/PKGBUILD (rev 0)
+++ json-c/trunk/PKGBUILD 2011-08-31 22:07:43 UTC (rev 136740)
@@ -0,0 +1,25 @@
+# Maintainer: Jan "heftig" Steffens <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.9
+pkgrel=1
+pkgdesc="A JSON implementation in C"
+url="http://oss.metaparadigm.com/json-c/"
+license=("MIT")
+arch=('i686' 'x86_64')
+depends=('glibc')
+source=(http://oss.metaparadigm.com/$pkgname/$pkgname-$pkgver.tar.gz)
+md5sums=('3a13d264528dcbaf3931b0cede24abae')
+options=(!libtool)
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+ install -D COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
Property changes on: json-c/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
+ Id
More information about the arch-commits
mailing list