# Contributor: Michał Polański # Maintainer: Michał Polański pkgname=fclones pkgver=0.32.1 pkgrel=0 pkgdesc="Efficient duplicate file finder" url="https://github.com/pkolaczk/fclones" license="MIT" arch="all !s390x !riscv64" # blocked by rust/cargo arch="$arch !armhf !armv7 !x86 !ppc64le" # tests fail makedepends="cargo eudev-dev cargo-auditable" source="https://github.com/pkolaczk/fclones/archive/v$pkgver/fclones-$pkgver.tar.gz musl-fix.patch " options="net" prepare() { default_prepare cargo fetch --target="$CTARGET" --locked } build() { cargo auditable build --frozen --release } check() { cargo test --frozen } package() { install -Dm755 target/release/$pkgname -t "$pkgdir"/usr/bin/ } sha512sums=" ca9af31e9c19c81930d7cf4397c829e8969cb7155857dc4428be3854ce5599cad9faa6cc1c1726ff53145672de99105cea63643b8d0ec163eb22aa6093246d25 fclones-0.32.1.tar.gz 8e8a3ba0d2e66f7fd909e1992a8f90f6ac9307b456a3825beb23337ff5a48bc30809b694ccfce3c7208ee48fa6b93c7185841d628815ca8b8bb18f14522a65ff musl-fix.patch "