void-packages/srcpkgs/pueue/template

33 lines
919 B
Bash

# Template file for 'pueue'
pkgname=pueue
version=3.3.2
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=5d880731b7911dcc01c84ad547d703d4d438a95a64396d3610829d0c05bb1e37
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
}