mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 19:14:37 +08:00
25 lines
589 B
Bash
25 lines
589 B
Bash
pkgname=jshon
|
|
pkgver=20131105
|
|
pkgrel=1
|
|
pkgdesc="A json parser for the shell."
|
|
arch=('x86_64')
|
|
url="http://kmkeen.com/jshon/"
|
|
license=('MIT')
|
|
depends=('jansson')
|
|
makedepends=()
|
|
optdepends=()
|
|
source=(http://kmkeen.com/$pkgname/$pkgname-$pkgver.tar.gz)
|
|
md5sums=('84596bcf2d6cde7bbc0fcb4626765b99')
|
|
|
|
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"
|
|
}
|