File: PKGBUILD

package info (click to toggle)
jshon 20131010-3
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, buster, jessie, jessie-kfreebsd, stretch, trixie
  • size: 180 kB
  • ctags: 152
  • sloc: ansic: 1,706; makefile: 54
file content (24 lines) | stat: -rw-r--r-- 664 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# $Id: PKGBUILD 80520 2012-11-23 18:21:28Z kkeen $
# Maintainer: Kyle Keen <keenerd@gmail.com>
pkgname=jshon
pkgver=20130815
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=('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"
}