# Template file for 'atuin' pkgname=atuin version=18.10.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 crates/atuin" hostmakedepends="pkg-config sqlite-devel" makedepends="sqlite-devel" short_desc="Magical shell history" maintainer="tranzystorekk " 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=02228929976142f63b4464a35b8b29b29155e1814cf03e99c95381954c5d9e37 post_patch() { cargo update --package ring@0.17.14 --precise 0.17.9 cargo update --package cc@1.2.38 --precise 1.1.37 } 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 }