summaryrefslogtreecommitdiff
path: root/community/jshon/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-05-10 22:33:36 +0000
committerroot <root@rshg047.dnsready.net>2011-05-10 22:33:36 +0000
commit01b47af6474ac094ec199c7d75208874f8842d87 (patch)
tree44a048d09e5233a98d35c660e67be2a818832a56 /community/jshon/PKGBUILD
parentbbb460f85242e6ac03f47b74b9d0be66ff089ac4 (diff)
Tue May 10 22:33:36 UTC 2011
Diffstat (limited to 'community/jshon/PKGBUILD')
-rw-r--r--community/jshon/PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/community/jshon/PKGBUILD b/community/jshon/PKGBUILD
new file mode 100644
index 000000000..646bd1f23
--- /dev/null
+++ b/community/jshon/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Kyle Keen <keenerd@gmail.com>
+pkgname=jshon
+pkgver=20110306
+pkgrel=1
+pkgdesc="A json parser for the shell."
+arch=('i686' 'x86_64')
+url="http://kmkeen.com/jshon/"
+license=('MIT')
+depends=('jansson')
+makedepends=()
+optdepends=()
+source=(http://kmkeen.com/$pkgname/$pkgname-$pkgver.tar.gz)
+md5sums=('a047a6281147956a9422a25fdd97adf3')
+
+build() {
+ cd "$srcdir/$pkgname"
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname"
+ install -Dm755 $pkgname "$pkgdir/usr/bin/$pkgname"
+ install -Dm644 $pkgname.1 "$pkgdir/usr/share/man/man1/$pkgname.1"
+}