pkgname=lz4 pkgver=1.10.0 pkgrel=1 pkgdesc="Extremely fast compression algorithm" arch=('x86_64') url="https://lz4.github.io/lz4" license=('BSD-2-Clause' 'GPL-2.0-or-later') depends=('glibc') makedepends=('meson') source=(https://github.com/lz4/lz4/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz) sha256sums=(537512904744b35e232912055ccf8ec66d768639ff3abe5788d90d792ec5f48b) build() { cd ${pkgname}-${pkgver}/build/meson local meson_args=( -Dcontrib=true -Dexamples=true -Dprograms=true ) ${meson_options} ${meson_args[@]} ${meson_build} } package() { cd ${pkgname}-${pkgver}/build/meson ${meson_install} ${pkgdir} }