# Template file for 'git-absorb' pkgname=git-absorb version=0.6.0 revision=2 build_style=cargo 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=945534d1f6bf99314085c16d2c13ec9d0fe75c8b3e88b83723858004c5e6e928 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 }