2022-11-19 00:51:43 +01:00
|
|
|
# Template file for 'atuin'
|
|
|
|
pkgname=atuin
|
2024-04-15 13:10:12 +02:00
|
|
|
version=18.2.0
|
2022-11-19 00:51:43 +01:00
|
|
|
revision=1
|
|
|
|
build_style=cargo
|
|
|
|
build_helper=qemu
|
2024-02-09 16:53:33 +01:00
|
|
|
make_check_args="--
|
|
|
|
--skip registration
|
|
|
|
--skip sync
|
|
|
|
--skip change_password
|
|
|
|
--skip multi_user_test"
|
2022-11-19 00:51:43 +01:00
|
|
|
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-04-15 13:10:12 +02:00
|
|
|
checksum=7fb87902ce09af2d29459e9158bc83c18519690d555259709cab40d9ee75b024
|
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
|
|
|
|
}
|