summaryrefslogtreecommitdiff
path: root/community/jshon/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/jshon/PKGBUILD
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/jshon/PKGBUILD')
-rw-r--r--community/jshon/PKGBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/community/jshon/PKGBUILD b/community/jshon/PKGBUILD
new file mode 100644
index 000000000..d04a76d85
--- /dev/null
+++ b/community/jshon/PKGBUILD
@@ -0,0 +1,23 @@
+# $Id: PKGBUILD 80521 2012-11-23 18:22:00Z kkeen $
+# Maintainer: Kyle Keen <keenerd@gmail.com>
+pkgname=jshon
+pkgver=20121122
+pkgrel=1
+pkgdesc="A json parser for the shell."
+arch=('i686' 'x86_64')
+url="http://kmkeen.com/jshon/"
+license=('MIT')
+depends=('jansson')
+source=(http://kmkeen.com/$pkgname/$pkgname-$pkgver.tar.gz)
+md5sums=('b66f6b23b510fc2cb571dcb69121b24c')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ install -Dm755 $pkgname "$pkgdir/usr/bin/$pkgname"
+ install -Dm644 $pkgname.1 "$pkgdir/usr/share/man/man1/$pkgname.1"
+}