26 lines
775 B
Bash
26 lines
775 B
Bash
# Template file for 'git-extras'
|
|
pkgname=git-extras
|
|
version=7.0.0
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
depends="bash git"
|
|
short_desc="Little git extras"
|
|
maintainer="icp <pangolin@vivaldi.net>"
|
|
license="MIT"
|
|
homepage="https://github.com/tj/git-extras"
|
|
changelog="https://raw.githubusercontent.com/tj/git-extras/master/History.md"
|
|
distfiles="https://github.com/tj/git-extras/archive/refs/tags/${version}.tar.gz"
|
|
checksum=3adcbc247d6cb78dc58cace22e9ad789cd6f5061522516660dfb59cc6ec08def
|
|
|
|
post_patch() {
|
|
vsed -e 's|$(SYSCONFDIR)/bash-completion|/usr/share/bash-completion|' -i Makefile
|
|
rm -f check_dependencies.sh
|
|
ln -s /bin/true check_dependencies.sh
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
vcompletion etc/git-extras.fish fish
|
|
vcompletion etc/git-extras-completion.zsh zsh
|
|
}
|