Debian Codegraph @

PKGBUILD

raw ◀ ▶
1 Debian patch touch this file
1 # $Id: PKGBUILD 80520 2012-11-23 18:21:28Z kkeen $
2 # Maintainer: Kyle Keen <[email protected]>
3 pkgname=jshon
•4 pkgver=20180209
5 pkgrel=1
6 pkgdesc="A json parser for the shell."
7 arch=('i686' 'x86_64')
8 url="http://kmkeen.com/jshon/"
9 license=('MIT')
10 depends=('jansson')
11 source=(http://kmkeen.com/$pkgname/$pkgname-$pkgver.tar.gz)
12 md5sums=('84596bcf2d6cde7bbc0fcb4626765b99')
13
14 build() {
15 cd "$srcdir/$pkgname-$pkgver"
16 make
17 }
18
19 package() {
20 cd "$srcdir/$pkgname-$pkgver"
21 install -Dm755 $pkgname "$pkgdir/usr/bin/$pkgname"
22 install -Dm644 $pkgname.1 "$pkgdir/usr/share/man/man1/$pkgname.1"
23 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
24 }