-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
30 lines (27 loc) · 996 Bytes
/
template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Template file for 'sheldon'
pkgname=sheldon
version=0.7.4
revision=2
build_style=cargo
build_helper=qemu
hostmakedepends="pkg-config"
makedepends="libcurl-devel libgit2-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=5d8ecd432a99852d416580174be7ab8f29fe9231d9804f0cc26ba2b158f49cdf
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
}