From b3435ad924aa4e0d5bdc018d99a7861657166678 Mon Sep 17 00:00:00 2001 From: Cornelius-Figgle Date: Mon, 14 Aug 2023 07:22:11 +0100 Subject: [PATCH] New package: dotter-0.13.0 --- srcpkgs/dotter/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/dotter/template diff --git a/srcpkgs/dotter/template b/srcpkgs/dotter/template new file mode 100644 index 0000000000000..0d8776ac64a6d --- /dev/null +++ b/srcpkgs/dotter/template @@ -0,0 +1,21 @@ +# Template file for 'dotter' +pkgname=dotter +version=0.13.0 +revision=1 +build_style=cargo +build_helper=qemu +depends="which" +checkdepends="which" +short_desc="Dotfile manager and templater" +maintainer="Cornelius-Figgle " +license="Unlicense" +homepage="https://github.com/SuperCuber/dotter" +distfiles="https://github.com/SuperCuber/dotter/archive/refs/tags/v${version}.tar.gz" +checksum=5dee1b157e0a67b0a5c925777c83ece98676a7ed145d5c4436e4ada6d6ae5254 + +post_install() { + for shell in bash fish zsh; do + vtargetrun "${DESTDIR}/usr/bin/dotter" gen-completions --shell ${shell} > dotter.${shell} + vcompletion dotter.${shell} ${shell} dotter + done +}