31 lines
999 B
Bash
31 lines
999 B
Bash
# Template file for 'sheldon'
|
|
pkgname=sheldon
|
|
version=0.8.0
|
|
revision=1
|
|
build_style=cargo
|
|
build_helper=qemu
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libcurl-devel libgit2-1.8-devel openssl-devel"
|
|
checkdepends="git"
|
|
short_desc="Fast, configurable shell plugin manager"
|
|
maintainer="tranzystorekk <tranzystorek.io@protonmail.com>"
|
|
license="Apache-2.0 OR MIT"
|
|
homepage="https://sheldon.cli.rs/"
|
|
changelog="https://raw.githubusercontent.com/rossmacarthur/sheldon/trunk/RELEASES.md"
|
|
distfiles="https://github.com/rossmacarthur/sheldon/archive/refs/tags/${version}.tar.gz"
|
|
checksum=71c6c27b30d1555e11d253756a4fce515600221ec6de6c06f9afb3db8122e5b5
|
|
|
|
if [ "$XBPS_BUILD_ENVIRONMENT" == "void-packages-ci" ]; then
|
|
make_check_args="-- --skip lock_and_source_clean_permission_denied"
|
|
fi
|
|
|
|
post_install() {
|
|
for shell in bash fish zsh; do
|
|
vtargetrun ${DESTDIR}/usr/bin/sheldon completions --shell ${shell} > sheldon.${shell}
|
|
vcompletion sheldon.${shell} ${shell}
|
|
done
|
|
|
|
vlicense LICENSE-MIT
|
|
vdoc README.md
|
|
}
|