From d65bed34d48f2d5ccd9e0bc07a7b0a250f71c613 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.0.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..d844a1f8ebaeb --- /dev/null +++ b/srcpkgs/atuin/template @@ -0,0 +1,25 @@ +# Template file for 'atuin' +pkgname=atuin +version=17.0.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=9c1bd5e180f53dd98248f582a36a4ead0670d3e155874a7217ec87cab3cea51a + +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 +}