# Template file for 'lz4'
pkgname=lz4
reverts="131_1 130_1 129_1 128_1 127_1 126_1 125_1 124_1 123_1 122_1"
version=1.8.0
revision=1
build_style=gnu-makefile
short_desc="Extremely fast compression algorithm"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="http://www.lz4.org/"
license="2-clause-BSD, GPL-2"
distfiles="https://github.com/lz4/lz4/archive/v${version}.tar.gz"
checksum=2ca482ea7a9bb103603108b5a7510b7592b90158c151ff50a28f1ca8389fccf6

lz4-devel_package() {
	depends="${sourcepkg}-${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/*.a
		vmove usr/lib/*.so
		vmove usr/lib/pkgconfig
	}
}
