void-packages/srcpkgs/atuin/template

26 lines
753 B
Bash
Raw Normal View History

2022-11-19 00:51:43 +01:00
# 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
}