31 lines
982 B
Bash
31 lines
982 B
Bash
# Template file for 'sheldon'
|
|
pkgname=sheldon
|
|
version=0.7.3
|
|
revision=2
|
|
build_style=cargo
|
|
build_helper=qemu
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libcurl-devel openssl-devel zlib-devel"
|
|
checkdepends="git"
|
|
short_desc="Fast, configurable shell plugin manager"
|
|
maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
|
|
license="Apache-2.0, 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=cf8844dce853156d076a6956733420ad7a9365e16a928e419b11de8bc634fc67
|
|
|
|
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 zsh; do
|
|
vtargetrun ${DESTDIR}/usr/bin/sheldon completions --shell ${shell} > sheldon.${shell}
|
|
vcompletion sheldon.${shell} ${shell}
|
|
done
|
|
|
|
vlicense LICENSE-MIT
|
|
vdoc README.md
|
|
}
|