void-packages/srcpkgs/git-extras/template
2020-05-29 13:04:36 +02:00

22 lines
590 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="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=432f73f178345b69d98fb48ccdc04839bafb605f2f8cc3e5bb8f87d497ef3e7d
pre_build() {
sed -i 's|$(SYSCONFDIR)/bash_completion.d|/usr/share/bash-completion/completions|' Makefile
}
post_install() {
vlicense LICENSE
}