24 lines
703 B
Bash
24 lines
703 B
Bash
# Template file for 'git-extras'
|
|
pkgname=git-extras
|
|
version=6.3.0
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
depends="bash git"
|
|
short_desc="Little git extras"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://github.com/tj/git-extras"
|
|
distfiles="https://github.com/tj/git-extras/archive/${version}.tar.gz"
|
|
checksum=8a218a0c8e10036d5ba14f26b70f994b0d11166b02ef3fed71c593cef026ec3d
|
|
|
|
post_patch() {
|
|
vsed -i 's|$(SYSCONFDIR)/bash_completion.d|/usr/share/bash-completion/completions|' 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
|
|
}
|