void-packages/srcpkgs/git-extras/template

23 lines
594 B
Bash

# Template file for 'git-extras'
pkgname=git-extras
version=5.1.0
revision=1
archs=noarch
build_style=gnu-makefile
hostmakedepends="util-linux"
depends="bash git"
short_desc="Little git extras"
maintainer="Eivind Uggedal <eivind@uggedal.com>"
license="MIT"
homepage="https://github.com/tj/git-extras"
distfiles="https://github.com/tj/git-extras/archive/${version}.tar.gz"
checksum=432f73f178345b69d98fb48ccdc04839bafb605f2f8cc3e5bb8f87d497ef3e7d
pre_build() {
sed -i 's|$(SYSCONFDIR)/bash_completion.d|/usr/share/bash-completion/completions|' Makefile
}
post_install() {
vlicense LICENSE
}