void-packages/srcpkgs/pueue/template
2024-04-03 20:35:05 +00:00

32 lines
919 B
Bash

# Template file for 'pueue'
pkgname=pueue
version=3.4.0
revision=1
build_style=cargo
build_helper="qemu"
make_install_args="--path pueue"
short_desc="Command-line tool for managing long-running tasks"
maintainer="crater2150 <void@qwertyuiop.de>"
license="MIT"
homepage="https://github.com/Nukesor/pueue"
changelog="https://raw.githubusercontent.com/Nukesor/pueue/main/CHANGELOG.md"
distfiles="https://github.com/Nukesor/pueue/archive/refs/tags/v${version}.tar.gz"
checksum=8468ff4d515d976607fc549c5eb994fa4f7d2ccdf47523561e34d778aa8d083e
make_check=no # tests are nondeterministic
case "$XBPS_TARGET_MACHINE" in
x86_64*|i686*|arm*|aarch64*) ;;
*) broken="ftbfs in ring" ;;
esac
post_install() {
for shell in bash fish zsh; do
vtargetrun ${DESTDIR}/usr/bin/pueue completions $shell .
done
vcompletion pueue.bash bash pueue
vcompletion pueue.fish fish pueue
vcompletion _pueue zsh pueue
vlicense LICENSE
}