# $Id: PKGBUILD 95722 2013-08-16 00:46:12Z kkeen $ # Maintainer: Kyle Keen pkgname=jshon pkgver=20130815 pkgrel=1 pkgdesc="A json parser for the shell." arch=('i686' 'x86_64' 'mips64el') url="http://kmkeen.com/jshon/" license=('MIT') depends=('jansson') source=(http://kmkeen.com/$pkgname/$pkgname-$pkgver.tar.gz) md5sums=('3ef31b1954ef0838f67bcaf20993dcdd') 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" install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" }