New package: atuin-17.1.0

This commit is contained in:
Marcin Puc 2022-11-19 00:51:43 +01:00 committed by classabbyamp
parent e1da0d61f9
commit 07110335fe
1 changed files with 25 additions and 0 deletions

25
srcpkgs/atuin/template Normal file
View File

@ -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 sqlite-devel"
makedepends="sqlite-devel"
short_desc="Magical shell history"
maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
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
}