# Template file for 'git-absorb' pkgname=git-absorb version=0.6.3 revision=1 build_style=cargo hostmakedepends="pkg-config" makedepends="libgit2-devel" short_desc="Like git commit --fixup, but automatic" maintainer="Dominic Monroe " license="BSD-3-Clause" homepage="https://github.com/tummychow/git-absorb" distfiles="https://github.com/tummychow/git-absorb/archive/${version}.tar.gz" checksum=d62ba36150d1113ea9216b8dc8f1f749c97a468cb41b2d1cd5c019158915ca70 pre_build() { # bump git2 version for newer libgit2-sys vsed -i 's/\"~0.9\"/\"0.13.5\"/g' Cargo.toml cargo update } post_install() { vlicense LICENSE.md vman Documentation/git-absorb.1 }