28 lines
959 B
Bash
28 lines
959 B
Bash
# Template file for 'gitoxide'
|
|
pkgname=gitoxide
|
|
version=0.36.0
|
|
revision=1
|
|
build_style=cargo
|
|
build_helper=qemu
|
|
hostmakedepends="pkg-config cmake"
|
|
makedepends="zlib-devel openssl-devel sqlite-devel"
|
|
short_desc="Idiomatic, lean, fast and safe pure Rust implementation of Git"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT, Apache-2.0"
|
|
homepage="https://github.com/Byron/gitoxide"
|
|
changelog="https://github.com/Byron/gitoxide/raw/main/CHANGELOG.md"
|
|
distfiles="https://github.com/Byron/gitoxide/archive/refs/tags/v${version}.tar.gz"
|
|
checksum=36142c7388c68732a953fcfd9dcd609241b1d9a5d2fdb2e796e987b6b6872fa7
|
|
|
|
post_install() {
|
|
vlicense LICENSE-APACHE
|
|
vlicense LICENSE-MIT
|
|
|
|
for _shell in bash fish zsh; do
|
|
vtargetrun ${DESTDIR}/usr/bin/ein completions -s ${_shell} > ein.${_shell}
|
|
vtargetrun ${DESTDIR}/usr/bin/gix completions -s ${_shell} > gix.${_shell}
|
|
vcompletion ein.${_shell} ${_shell} ein
|
|
vcompletion gix.${_shell} ${_shell} gix
|
|
done
|
|
}
|