# Description: extremely fast compression algorithm
# URL: https://lz4.github.io/lz4/
# Maintainer: Tim Biermann, tbier at posteo dot de

name=lz4
version=1.9.4
release=1
source=(https://github.com/$name/$name/archive/v$version/$name-$version.tar.gz)

build() {
  cd $name-$version

  make -C lib PREFIX=/usr
  make -C programs PREFIX=/usr lz4 lz4c
  make install PREFIX=/usr DESTDIR=$PKG
}
