summaryrefslogtreecommitdiff
path: root/community/jansson/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/jansson/PKGBUILD')
-rw-r--r--community/jansson/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/community/jansson/PKGBUILD b/community/jansson/PKGBUILD
new file mode 100644
index 000000000..db43bce92
--- /dev/null
+++ b/community/jansson/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 76779 2012-09-29 19:28:30Z kkeen $
+# Maintainer: Kyle Keen <keenerd@gmail.com>
+# Contributor: Dave Reisner <d@falconindy.com>
+
+pkgname=jansson
+pkgver=2.4
+pkgrel=1
+pkgdesc='C library for encoding, decoding and manipulating JSON data'
+arch=('i686' 'x86_64')
+url='http://www.digip.org/jansson/'
+depends=('glibc')
+license=('MIT')
+options=('!libtool')
+source=("http://www.digip.org/$pkgname/releases/$pkgname-$pkgver.tar.bz2")
+md5sums=('3aaa1bb1195d705fac602b7504c9b945')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et: