26 lines
775 B
Bash
26 lines
775 B
Bash
# Template file for 'git-extras'
|
|
pkgname=git-extras
|
|
version=7.1.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=e5c855361d2f1ec1be6ee601247153d9c8c04a221949b6ec3903b32fa736f542
|
|
|
|
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
|
|
}
|