From ffb6eaa91031603afb63a882f3c189d3bea94846 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.1 --- 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..4343563eee337 --- /dev/null +++ b/srcpkgs/atuin/template @@ -0,0 +1,25 @@ +# Template file for 'atuin' +pkgname=atuin +version=17.0.1 +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=b03d3a1597ba2bbd784612e730419c2cdc099311adf48518bd9c00d2799199f6 + +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 +}