From 53740d30ab138a14aa7e4e2a5063753ba57f0cdc Mon Sep 17 00:00:00 2001 From: Marcin Puc Date: Sat, 19 Nov 2022 00:51:43 +0100 Subject: [PATCH] New package: atuin-17.1.0 --- srcpkgs/atuin/template | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 srcpkgs/atuin/template diff --git a/srcpkgs/atuin/template b/srcpkgs/atuin/template new file mode 100644 index 0000000000000..0d7dcd07e2879 --- /dev/null +++ b/srcpkgs/atuin/template @@ -0,0 +1,25 @@ +# Template file for 'atuin' +pkgname=atuin +version=17.1.0 +revision=1 +build_style=cargo +build_helper=qemu +make_check_args="-- --skip registration --skip sync" +make_install_args="--path atuin" +hostmakedepends="pkg-config" +makedepends="sqlite-devel" +short_desc="Magical shell history" +maintainer="Marcin Puc " +license="MIT" +homepage="https://atuin.sh" +distfiles="https://github.com/atuinsh/atuin/archive/refs/tags/v${version}.tar.gz" +checksum=6a0b1542e7061e6a5bcdf3c284d3ad386e3504e040fcfa1500f530a5125b37b8 + +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 +}