lz4jsoncat: update to 2.

This commit is contained in:
Leah Neukirchen 2019-01-15 09:41:26 +01:00
parent 97c78fc8cd
commit 694ad239b8

View file

@ -1,9 +1,8 @@
# Template file for 'lz4jsoncat' # Template file for 'lz4jsoncat'
pkgname=lz4jsoncat pkgname=lz4jsoncat
version=0.0.20190105 version=2
revision=1 revision=1
_githash=65fd7add7906f0df9a7f30cf2ffab1f2bb5d0927 wrksrc="lz4json-${version}"
wrksrc="lz4json-${_githash}"
build_style=gnu-makefile build_style=gnu-makefile
hostmakedepends="pkg-config" hostmakedepends="pkg-config"
makedepends="lz4-devel" makedepends="lz4-devel"
@ -11,11 +10,13 @@ short_desc="C decompress tool for Mozilla lz4json format"
maintainer="Leah Neukirchen <leah@vuxu.org>" maintainer="Leah Neukirchen <leah@vuxu.org>"
license="BSD-2-Clause" license="BSD-2-Clause"
homepage="https://github.com/andikleen/lz4json" homepage="https://github.com/andikleen/lz4json"
distfiles="https://github.com/andikleen/lz4json/archive/${_githash}.tar.gz" distfiles="https://github.com/andikleen/lz4json/archive/v${version}.tar.gz"
checksum=631ed26d85b4546bc0568e38d13a0137e776a7610e551c61611cd59a64facb95 checksum=f59e522a19f846a55be787b4cd194ea35895ef58db9ec315da10585abab99b20
do_install() { do_install() {
sed '/^$/q' <lz4jsoncat.c >LICENSE sed '/^$/q' <lz4jsoncat.c >LICENSE
vlicense LICENSE vlicense LICENSE
vbin lz4jsoncat vbin lz4jsoncat
vman lz4jsoncat.1
} }