diff options
author | root <root@rshg054.dnsready.net> | 2011-09-01 23:14:36 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-09-01 23:14:36 +0000 |
commit | eb3d40c72c9dd19f6a5ef79b41e9d8ba73ccd928 (patch) | |
tree | 8b84e75352e1becac08cfc404361e88753b5daac /gnome-unstable/json-c/PKGBUILD | |
parent | 31f40feaa17912cf0ebfa72dd9368264633b3830 (diff) |
Thu Sep 1 23:14:36 UTC 2011
Diffstat (limited to 'gnome-unstable/json-c/PKGBUILD')
-rw-r--r-- | gnome-unstable/json-c/PKGBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnome-unstable/json-c/PKGBUILD b/gnome-unstable/json-c/PKGBUILD new file mode 100644 index 000000000..2f689ba64 --- /dev/null +++ b/gnome-unstable/json-c/PKGBUILD @@ -0,0 +1,25 @@ +# 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 +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" +} |