void-packages/srcpkgs/pueue/template
2022-01-25 16:19:17 +01:00

32 lines
860 B
Bash

# Template file for 'pueue'
pkgname=pueue
version=1.0.6
revision=1
build_style=cargo
build_helper="qemu"
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/v${version}.tar.gz"
checksum=e8df48831f4d9ae8fe5dc7a8428660b4c87c4fb3bf8d1ae620e030af74269ffa
case "$XBPS_TARGET_MACHINE" in
x86_64*|i686*|arm*|aarch64*) ;;
*) broken="ftbfs in ring" ;;
esac
post_build() {
for shell in bash fish zsh; do
vtargetrun target/${RUST_TARGET}/release/pueue completions $shell .
done
}
post_install() {
vlicense LICENSE
vcompletion _pueue zsh pueue
vcompletion pueue.bash bash pueue
vcompletion pueue.fish fish pueue
}