vp-build/srcpkgs/git-extras/template

23 lines
618 B
Bash

# Template file for 'git-extras'
pkgname=git-extras
version=6.2.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=151bc129f717179c1f7b6c83faf1d4829eeddef8b7c501dac05dc38c28270c3e
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
}