# Contributor: Jakub Jirutka # Maintainer: Jakub Jirutka pkgname=hwatch pkgver=0.3.10 pkgrel=1 pkgdesc="A modern alternative to the watch command" url="https://github.com/blacknon/hwatch" arch="aarch64 armhf armv7 ppc64le x86 x86_64" # blocked by rust/cargo license="MIT" makedepends="cargo cargo-auditable" subpackages=" $pkgname-doc $pkgname-fish-completion $pkgname-zsh-completion " source="https://github.com/blacknon/hwatch/archive/refs/tags/$pkgver/hwatch-$pkgver.tar.gz" # !check: no tests provided # net: fetch dependencies options="!check net" prepare() { default_prepare cargo fetch --target="$CTARGET" --locked } build() { cargo auditable build --frozen --release } package() { install -D -m755 target/release/$pkgname -t "$pkgdir"/usr/bin/ install -D -m644 man/$pkgname.1 -t "$pkgdir"/usr/share/man/man1/ install -D -m644 completion/fish/* -t "$pkgdir"/usr/share/fish/vendor_completions.d/ install -D -m644 completion/zsh/* -t "$pkgdir"/usr/share/zsh/site-functions/ } sha512sums=" 6dd0aa853591422bf4afab056a51152bdda1ac9de5cdb3e8d73e73f368d338fef566bc5d329be90cfb9c2f1cad9783a09832d81114cc3d3cca5ab8f5c8ad57de hwatch-0.3.10.tar.gz "