# Template file for 'git-absorb' pkgname=git-absorb version=0.6.16 revision=1 build_style=cargo build_helper="qemu" hostmakedepends="pkg-config" makedepends="libgit2-1.8-devel" short_desc="Like git commit --fixup, but automatic" maintainer="icp " 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=d0fac448801674a4d4d5d42d6ef2d2e21545ad66755023c531a273a47893a573 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 }