void-packages/srcpkgs/git-extras/template

23 lines
618 B
Bash

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