summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ed02895c80a8cf63a9296fac2391df9dc7820708 (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
26
27
28
# Maintainer: Lance Chen <cyen0312@gmail.com>

pkgname=jo
pkgver=1.3
pkgrel=1
pkgdesc="JSON output from a shell"
arch=(any)
url="https://github.com/jpmens/jo"
license=('GPL2')
source=("https://github.com/jpmens/jo/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('de25c95671a3b392c6bcaba0b15d48eb8e2435508008c29477982d2d2f5ade64')
validpgpkeys=()

build() {
	cd "$pkgname-$pkgver"
	./configure --prefix=/usr
	make
}

check() {
	cd "$pkgname-$pkgver"
	make -k check
}

package() {
	cd "$pkgname-$pkgver"
	make DESTDIR="$pkgdir/" install
}