void-packages/srcpkgs/tig/template

36 lines
1 KiB
Text
Raw Normal View History

2012-09-07 13:43:45 +00:00
# Template file for 'tig'
pkgname=tig
2012-10-12 22:28:51 +00:00
version=1.1
revision=1
2012-09-07 13:43:45 +00:00
build_style=gnu-configure
make_install_args="install-doc-man"
makedepends="ncurses-devel git"
2012-09-07 13:43:45 +00:00
short_desc="Text-mode interface for Git"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://jonas.nitro.dk/tig/"
distfiles="http://jonas.nitro.dk/tig/releases/tig-${version}.tar.gz"
2012-10-12 22:28:51 +00:00
checksum=cb8972ba2fe5015f66f064f9ef63c471b86e5d3f06a6d7719cd6753c29c2c0a2
2012-09-07 13:43:45 +00:00
long_desc="
Tig is a git repository browser that additionally can act as a pager for
output from various git commands.
When browsing repositories, it uses the underlying git commands to present
the user with various views, such as summarized revision log and showing
the commit with the log message, diffstat, and the diff.
Using it as a pager, it will display input from stdin and colorize it."
post_install() {
2012-09-07 14:00:32 +00:00
vinstall contrib/tigrc 644 usr/share/examples/tig
2012-09-07 13:43:45 +00:00
vinstall contrib/tig-completion.bash 644 \
usr/share/bash-completion/completions tig
}
tig_package() {
depends="tig"
pkg_install() {
vmove usr
}
}