summaryrefslogtreecommitdiff
path: root/community/jshon/PKGBUILD
blob: 2dd156623f6e9b671ef2b04708de6a5b0b9aeb27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# $Id: PKGBUILD 61131 2011-12-22 05:37:54Z kkeen $
# Maintainer: Kyle Keen <keenerd@gmail.com>
pkgname=jshon
pkgver=20111222
pkgrel=1
pkgdesc="A json parser for the shell."
arch=('i686' 'x86_64' 'mips64el')
url="http://kmkeen.com/jshon/"
license=('MIT')
depends=('jansson')
makedepends=()
optdepends=()
source=(http://kmkeen.com/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('bcc8b8b6e8c09af7d053471a473ef6e8')

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"
}