From 4514b3f389bb0daa0d52f245f27815c163ca355a Mon Sep 17 00:00:00 2001 From: Marcin Puc Date: Sat, 19 Nov 2022 00:51:43 +0100 Subject: [PATCH] New package: atuin-14.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..a01c74cfb568 --- /dev/null +++ b/srcpkgs/atuin/template @@ -0,0 +1,23 @@ +# Template file for 'atuin' +pkgname=atuin +version=14.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=cccff6fcd27ab12038fc4be0f8418197813306d6210512850d21d2b749c6c797 + +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 +}