aboutsummaryrefslogtreecommitdiff
path: root/srcpkgs/atuin/template
blob: 4b839e38bf1b1b5e90099d308c69969d93707eaf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Template file for 'atuin'
pkgname=atuin
version=18.3.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 protobuf protobuf-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=d05d978d1f1b6a633ac24a9ac9bde3b1dfb7416165b053ef54240fff898aded3

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
}