26 lines
773 B
Bash
26 lines
773 B
Bash
# Template file for 'git-extras'
|
|
pkgname=git-extras
|
|
version=7.3.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/main/History.md"
|
|
distfiles="https://github.com/tj/git-extras/archive/refs/tags/${version}.tar.gz"
|
|
checksum=89bae1a05731f4aaafb04066ea0186e181117b74fcfbf89d686cf205459220b7
|
|
|
|
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
|
|
}
|