aboutsummaryrefslogtreecommitdiffstats
path: root/testing/jshon/APKBUILD
blob: 95e3ae8c5911626b874429c53dae2bf3dbf10f08 (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
29
30
31
32
33
34
35
36
37
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer:
pkgname=jshon
pkgver=20131105
pkgrel=0
pkgdesc="SON parser designed for maximum convenience within the shell"
url="http://kmkeen.com/jshon/"
arch="all"
license="MIT"
depends=""
makedepends="jansson-dev"
options="!check"
subpackages="$pkgname-doc"
source="jshon-$pkgver.tar.gz::https://github.com/keenerd/jshon/archive/$pkgver.tar.gz
	disable-werror.patch
	missing-typesh.patch
	"
builddir="$srcdir/jshon-$pkgver"

build() {
	cd "$builddir"
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="0f27cc8d0157bda12e5180f99b4e894326e7240d8cd004dadcadfad09f926852e224e3cd2b03cc6d51f7e7efafea0e5ccb1a0b66ab0d8349326809bc7db8ffb4  jshon-20131105.tar.gz
0f862ebcf1028cf2ad46610483df6b46e1f380b7b30605e672b342132fb1e123133d9c9672181d13217de5aa58e92522daf0eaa3537eacf810c978fbced364dc  disable-werror.patch
fc9a589cd39493c10e4616628040f19d758893545df59d2dc415d21eae12d8af12d5dd1fc160d0c95694086e5e86c8e9a463332dbab1fbd89babb606da139554  missing-typesh.patch"