-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
27 lines (25 loc) · 959 Bytes
/
template
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
# 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
}