zxc 0.13.2-1
safe
Checked2026-08-02 23:04 UTC
Check provider/modelopenai/gpt-5.6-luna
# Maintainer: guglovich <[email protected]>
# Created with assistance from DeepSeek V4 Flash.
pkgname=zxc
pkgver=0.13.2
pkgrel=1
pkgdesc="Asymmetric lossless compression CLI — ultra-fast decode, 40%+ faster than LZ4 on ARM64 (source build)"
arch=('x86_64' 'aarch64')
url="https://github.com/hellobertrand/zxc"
license=('BSD-3-Clause')
depends=('glibc')
makedepends=('cmake' 'gcc')
options=('!debug')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/hellobertrand/zxc/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('957acf0e2c0f230b6acc0a4d48c3ee4734117b290a8c8ef1a9cf29686924a0ac')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
cmake -S . -B build \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DZXC_BUILD_CLI=ON \
-DZXC_BUILD_TESTS=OFF \
-DZXC_NATIVE_ARCH=OFF
cmake --build build -j"$(nproc)"
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
install -Dm755 "build/zxc" "${pkgdir}/usr/bin/zxc"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}