void-packages/srcpkgs/git-filter-repo/template
2020-01-28 15:51:44 +01:00

23 lines
807 B
Bash

# Template file for 'git-filter-repo'
pkgname=git-filter-repo
version=2.25.0
revision=1
archs=noarch
depends="git python3"
short_desc="Versatile tool for rewriting git history"
maintainer="Cameron Nemo <cnemo@tutanota.com>"
license="MIT"
homepage="https://github.com/newren/git-filter-repo/"
distfiles="https://github.com/newren/git-filter-repo/releases/download/v${version}/git-filter-repo-${version}.tar.xz"
checksum=ea8cdb7dca68111e819d141fc4d302b811c1e5362c12de7403882ba9908be29c
do_install() {
vlicense COPYING.mit
vinstall git-filter-repo 0755 "${py3_sitelib}" git_filter_repo.py
vmkdir usr/libexec/git-core
ln -s "/${py3_sitelib}/git_filter_repo.py" \
"${DESTDIR}/usr/libexec/git-core/git-filter-repo"
vman Documentation/man1/git-filter-repo.1
vdoc Documentation/html/git-filter-repo.html
}