32 lines
783 B
Bash
32 lines
783 B
Bash
# Template file for 'pueue'
|
|
pkgname=pueue
|
|
version=0.12.0
|
|
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=9c3930380120bf8479caa55236fb9fdbbad5bfe3d41c0729a667c777cbc856e2
|
|
|
|
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
|
|
}
|