From a3afeae61c36bf0a019d9150f6c003515ebb4e81 Mon Sep 17 00:00:00 2001 From: Marcin Puc Date: Sat, 19 Nov 2022 00:51:43 +0100 Subject: [PATCH] New package: atuin-12.0.0 --- srcpkgs/atuin/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/atuin/template diff --git a/srcpkgs/atuin/template b/srcpkgs/atuin/template new file mode 100644 index 000000000000..044e4f0c32be --- /dev/null +++ b/srcpkgs/atuin/template @@ -0,0 +1,23 @@ +# Template file for 'atuin' +pkgname=atuin +version=12.0.0 +revision=1 +build_style=cargo +build_helper=qemu +hostmakedepends="pkg-config" +makedepends="libsodium-devel sqlite-devel" +short_desc="Magical shell history" +maintainer="Marcin Puc " +license="MIT" +homepage="https://github.com/ellie/atuin" +distfiles="https://github.com/ellie/atuin/archive/refs/tags/v${version}.tar.gz" +checksum=bfeeb14c3fd94862e2cb7c57ac2b77db78686b0afe49b5597ead9cca02dcc403 + +post_install() { + vlicense LICENSE + + for shell in bash fish zsh; do + vtargetrun "${DESTDIR}/usr/bin/atuin" gen-completion --shell ${shell} > atuin.${shell} + vcompletion atuin.${shell} ${shell} + done +}