# Contributor: Leo # Maintainer: Jakub Jirutka pkgname=broot pkgver=1.7.4 pkgrel=0 pkgdesc="New way to see and navigate directory trees" url="https://github.com/Canop/broot" arch="x86_64 armv7 armhf aarch64 x86 ppc64le" # limited by rust/cargo license="MIT" makedepends="cargo libgit2-dev libxcb-dev oniguruma-dev" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/Canop/broot/archive/v$pkgver.tar.gz minimize-size.patch " export RUSTONIG_DYNAMIC_LIBONIG=1 # use system libonig prepare() { default_prepare cargo fetch --locked } build() { cargo build --release --frozen } check() { cargo test --frozen } package() { install -Dm0755 target/release/broot "$pkgdir"/usr/bin/broot install -Dm0644 man/page "$pkgdir"/usr/share/man/man1/broot.1 } sha512sums=" 832c792a3a905040c5e7915b9defa82d2bd70b113025d3357d8ba9b521fb93617bbb17a6b74f7320365ed3a703c864e1e6db887c74f347ed669cb2c950334e44 broot-1.7.4.tar.gz 05bbce2c8553beba42d13e50de87e4a320aed45787d788269388e04408cf9325dba5cd44ce24c30547483e7b6e9561d3aca17e06ca2b8097fc24a387395dac0b minimize-size.patch "