cocogitto: rebuild for libgit2-1.5.0

This commit is contained in:
Marcin Puc 2022-10-15 01:44:17 +02:00 committed by classabbyamp
parent 51faf6bcba
commit 19c1f6fe4d
1 changed files with 6 additions and 12 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'cocogitto'
pkgname=cocogitto
version=5.2.0
revision=1
revision=2
build_style=cargo
build_helper=qemu
hostmakedepends="pkg-config"
@ -17,19 +17,13 @@ checksum=99f9dee05597d7721f6d046dbfefba5cb8d1c4ae22ced415f724affb3a6bd0cc
# Test suite is not atomic, relies on user environment such as git user configuration
make_check=no
post_build() {
TARGET_DIR="target/${RUST_TARGET}/release"
for shell in bash zsh fish; do
vtargetrun ${TARGET_DIR}/cog generate-completions ${shell} > cog.${shell}
done
}
post_install() {
vlicense LICENSE
vdoc README.md
COG="${DESTDIR}/usr/bin/cog"
for shell in bash zsh fish; do
vtargetrun ${COG} generate-completions ${shell} > cog.${shell}
vcompletion cog.${shell} ${shell} cog
done
vdoc README.md
vlicense LICENSE
}