From 1ccaad1774a1e3ce840cc231c34fd06a7bf7e3c6 Mon Sep 17 00:00:00 2001 From: Marcin Puc Date: Tue, 15 Mar 2022 13:25:42 +0100 Subject: [PATCH] New package: sheldon-0.7.0 --- srcpkgs/sheldon/template | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 srcpkgs/sheldon/template diff --git a/srcpkgs/sheldon/template b/srcpkgs/sheldon/template new file mode 100644 index 000000000000..76cbd6a3e05f --- /dev/null +++ b/srcpkgs/sheldon/template @@ -0,0 +1,27 @@ +# Template file for 'sheldon' +pkgname=sheldon +version=0.7.0 +revision=1 +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 " +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=e9ae7e8f0ac9dbb024dd2aaf8a2f5fa9167bc81262787d7edcafcc0fd300c008 + +post_install() { + SHELDON="${DESTDIR}/usr/bin/sheldon" + for shell in bash zsh; do + vtargetrun ${SHELDON} completions --shell ${shell} > sheldon.${shell} + vcompletion sheldon.${shell} ${shell} + done + + vlicense LICENSE-MIT + vdoc README.md +}