summaryrefslogtreecommitdiffstats
path: root/abs/extra/jansson
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2016-05-18 17:43:30 (GMT)
committerBritney Fransen <brfransen@gmail.com>2016-05-18 17:43:30 (GMT)
commit309cb196a638324b9fbb7d02a137b1ccb83724c9 (patch)
tree61578c991fa92395416e64a46f44bbb99a2725a8 /abs/extra/jansson
parent62b6b7b6c7ae399db9a464985e7cbeee4367ac41 (diff)
downloadlinhes_pkgbuild-309cb196a638324b9fbb7d02a137b1ccb83724c9.zip
linhes_pkgbuild-309cb196a638324b9fbb7d02a137b1ccb83724c9.tar.gz
linhes_pkgbuild-309cb196a638324b9fbb7d02a137b1ccb83724c9.tar.bz2
jansson: initial commit; dep of nvidia-settings
Diffstat (limited to 'abs/extra/jansson')
-rw-r--r--abs/extra/jansson/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/abs/extra/jansson/PKGBUILD b/abs/extra/jansson/PKGBUILD
new file mode 100644
index 0000000..a263809
--- /dev/null
+++ b/abs/extra/jansson/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd@gmail.com>
+# Contributor: Dave Reisner <d@falconindy.com>
+
+pkgname=jansson
+pkgver=2.7
+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=('staticlibs')
+source=("http://www.digip.org/$pkgname/releases/$pkgname-$pkgver.tar.bz2")
+md5sums=('ffac352f9c5f80a6ae8145d451af2c0e')
+
+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: