summaryrefslogtreecommitdiff
path: root/extra/json-c/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-01-28 00:05:59 -0800
committerroot <root@rshg054.dnsready.net>2013-01-28 00:05:59 -0800
commit1b9f6dc846379470b620b5dbb9d4d7acd1de148c (patch)
tree2305b950a3c94970b05c1a38af473f5cca95af02 /extra/json-c/PKGBUILD
parentb9b96ada56ad38df20b1e528a095a1e86ab67a2b (diff)
Mon Jan 28 00:05:59 PST 2013
Diffstat (limited to 'extra/json-c/PKGBUILD')
-rw-r--r--extra/json-c/PKGBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/extra/json-c/PKGBUILD b/extra/json-c/PKGBUILD
index 2f689ba64..2b8174664 100644
--- a/extra/json-c/PKGBUILD
+++ b/extra/json-c/PKGBUILD
@@ -1,25 +1,26 @@
+# $Id: PKGBUILD 176084 2013-01-27 11:24:26Z ioni $
# Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com>
# Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr>
# Contributor: congyiwu <congyiwu AT gmail DOT com>
pkgname=json-c
-pkgver=0.9
+pkgver=0.10
pkgrel=1
pkgdesc="A JSON implementation in C"
-url="http://oss.metaparadigm.com/json-c/"
+url="https://github.com/json-c/json-c/wiki"
license=("MIT")
arch=('i686' 'x86_64')
depends=('glibc')
-source=(http://oss.metaparadigm.com/$pkgname/$pkgname-$pkgver.tar.gz)
-md5sums=('3a13d264528dcbaf3931b0cede24abae')
+source=(https://github.com/downloads/$pkgname/$pkgname/$pkgname-$pkgver.tar.gz)
+md5sums=('a4edc79410eb894f08d7d52ca9f88732')
options=(!libtool)
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd $pkgname-$pkgver
./configure --prefix=/usr
make
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
install -D COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}