32 lines
783 B
Bash
32 lines
783 B
Bash
# Template file for 'pueue'
|
|
pkgname=pueue
|
|
version=0.12.2
|
|
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"
|
|
distfiles="https://github.com/Nukesor/pueue/archive/v${version}.tar.gz"
|
|
checksum=3acd923759d5731b69a9a4a16c83c16a1f33589767da2ab7eb0cbe49ea06eabd
|
|
|
|
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
|
|
}
|