28 lines
794 B
Bash
28 lines
794 B
Bash
# Template file for 'git-absorb'
|
|
pkgname=git-absorb
|
|
version=0.6.11
|
|
revision=2
|
|
build_style=cargo
|
|
build_helper=qemu
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libgit2-devel"
|
|
short_desc="Like git commit --fixup, but automatic"
|
|
maintainer="icp <pangolin@vivaldi.net>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://github.com/tummychow/git-absorb"
|
|
distfiles="https://github.com/tummychow/git-absorb/archive/refs/tags/${version}.tar.gz"
|
|
checksum=36c3b2c7bcd1d9db5d1dedd02d6b0ac58faaeb6fd50df7ff01f5cf87e5367b52
|
|
|
|
post_patch() {
|
|
cargo update --package git2@0.18.1 --precise 0.17.2
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE.md
|
|
vman Documentation/git-absorb.1
|
|
for sh in bash fish zsh; do
|
|
vtargetrun ${DESTDIR}/usr/bin/git-absorb --gen-completions $sh > git-absorb.$sh
|
|
vcompletion git-absorb.$sh $sh
|
|
done
|
|
}
|