31 lines
881 B
Bash
31 lines
881 B
Bash
# Template file for 'atuin'
|
|
pkgname=atuin
|
|
version=18.2.0
|
|
revision=1
|
|
build_style=cargo
|
|
build_helper=qemu
|
|
make_check_args="--
|
|
--skip registration
|
|
--skip sync
|
|
--skip change_password
|
|
--skip multi_user_test"
|
|
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"
|
|
changelog="https://raw.githubusercontent.com/atuinsh/atuin/main/CHANGELOG.md"
|
|
distfiles="https://github.com/atuinsh/atuin/archive/refs/tags/v${version}.tar.gz"
|
|
checksum=7fb87902ce09af2d29459e9158bc83c18519690d555259709cab40d9ee75b024
|
|
|
|
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
|
|
}
|