gitoxide: update to 0.37.0
[void-pkg.git] / srcpkgs / gitoxide / template
blob10b5be3a6d5a399d2fcd28672e53f4844b90a259
1 # Template file for 'gitoxide'
2 pkgname=gitoxide
3 version=0.37.0
4 revision=1
5 build_style=cargo
6 build_helper=qemu
7 configure_args="
8  --no-default-features
9  --features max-control,gix-features/zlib-stock,gitoxide-core-blocking-client,http-client-curl
11 hostmakedepends="pkg-config"
12 makedepends="zlib-devel sqlite-devel libcurl-devel"
13 short_desc="Idiomatic, lean, fast and safe pure Rust implementation of Git"
14 maintainer="Orphaned <orphan@voidlinux.org>"
15 license="MIT, Apache-2.0"
16 homepage="https://github.com/Byron/gitoxide"
17 changelog="https://github.com/Byron/gitoxide/raw/main/CHANGELOG.md"
18 distfiles="https://github.com/Byron/gitoxide/archive/refs/tags/v${version}.tar.gz"
19 checksum=1bdc30bafdd3605d6e278aa5562f772a9732bb07ced9321ea31893b28f950c0a
21 post_install() {
22         vlicense LICENSE-APACHE
23         vlicense LICENSE-MIT
25         for _shell in bash fish zsh; do
26                 vtargetrun ${DESTDIR}/usr/bin/ein completions -s ${_shell} > ein.${_shell}
27                 vtargetrun ${DESTDIR}/usr/bin/gix completions -s ${_shell} > gix.${_shell}
28                 vcompletion ein.${_shell} ${_shell} ein
29                 vcompletion gix.${_shell} ${_shell} gix
30         done