New package: git-filter-repo-2.24.0.

This commit is contained in:
Cameron Nemo 2019-11-15 23:16:28 -08:00 committed by Juan RP
parent 41e8020638
commit b0d33beb69

View file

@ -0,0 +1,23 @@
# Template file for 'git-filter-repo'
pkgname=git-filter-repo
version=2.24.0
revision=1
archs=noarch
pycompile_module="git_filter_repo"
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=92188d3c44b9ff0dd40dfeed72859e0a088f775c12fb24c4e3e27a8064cfcc84
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
}