# Maintainer: Nikita Puzyryov pkgname=zchunk pkgver=0.9.11 pkgrel=1 pkgdesc="A file format that allows easy deltas while maintaining good compression" arch=(x86 x86_64) url="https://github.com/zchunk/zchunk" license=('BSD') depends=('libcurl.so' 'zstd') makedepends=('meson') source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz") sha256sums=('ab521a7c99a4a273a924a7c21f0947b79285ff416b9217c6dbab760e4d306317') build() { cd "$srcdir/$pkgname-$pkgver" arch-meson build/ ninja -C build/ } check() { cd "$srcdir/$pkgname-$pkgver/build" meson test } package() { cd "$srcdir/$pkgname-$pkgver" DESTDIR="$pkgdir/" ninja -C build/ install }