void-packages/srcpkgs/atuin/template

27 lines
831 B
Bash
Raw Normal View History

2022-11-19 00:51:43 +01:00
# Template file for 'atuin'
pkgname=atuin
2024-01-03 14:30:05 +01:00
version=17.2.1
2022-11-19 00:51:43 +01:00
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"
2023-12-14 14:54:05 +01:00
changelog="https://raw.githubusercontent.com/atuinsh/atuin/main/CHANGELOG.md"
2022-11-19 00:51:43 +01:00
distfiles="https://github.com/atuinsh/atuin/archive/refs/tags/v${version}.tar.gz"
2024-01-03 14:30:05 +01:00
checksum=5bad59af24317adfa1d56fce39e231c85836fb91ac3d468830f9bb0884b320ca
2022-11-19 00:51:43 +01:00
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
}