summaryrefslogtreecommitdiff
path: root/community/jshon/PKGBUILD
blob: df1bab8c38bb3fb82afdd9c1ca7c0b3aefa470a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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' 'mips64el')
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"
}