# Contributor: Will Sinatra <wpsinatra@gmail.com>
# Maintainer: Will Sinatra <wpsinatra@gmail.com>
pkgname=lz4jsoncat
pkgver=2
pkgrel=0
pkgdesc="C decompress tool for mozilla lz4json format"
url="https://github.com/andikleen/lz4json"
license="BSD-2-Clause"
arch="all"
makedepends="lz4-dev"
source="https://github.com/andikleen/lz4json/archive/v$pkgver/lz4json-v$pkgver.tar.gz"
builddir="$srcdir/lz4json-$pkgver"
options="!check" #There are no checks

build() {
	make CFLAGS="$CFLAGS"
}

package() {
	install -Dm755 -t "$pkgdir"/usr/bin lz4jsoncat
}

sha512sums="
325653fb70b80bf5b37eb0b831caa22654cdc3d2bb5ba2afe7498580c2bb80e9983c5982902784905d9bfa41d85656d403a3096acf4809a6fec38fd6ec092493  lz4json-v2.tar.gz
"
