2012-09-07 15:43:45 +02:00
|
|
|
# Template file for 'tig'
|
|
|
|
pkgname=tig
|
2013-08-27 06:46:50 +02:00
|
|
|
version=1.2.1
|
2012-10-13 00:28:51 +02:00
|
|
|
revision=1
|
2012-09-07 15:43:45 +02:00
|
|
|
build_style=gnu-configure
|
|
|
|
make_install_args="install-doc-man"
|
2013-08-27 06:50:58 +02:00
|
|
|
hostmakedepends="xmlto asciidoc"
|
2013-04-14 15:09:59 +02:00
|
|
|
makedepends="ncurses-devel git"
|
2012-09-07 15:43:45 +02: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"
|
2013-08-27 06:46:50 +02:00
|
|
|
checksum=c4a1ad58b704e0d5f54f351592410c8680ac09e461952f86fae017e373330321
|
2012-09-07 15:43:45 +02: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 16:00:32 +02:00
|
|
|
vinstall contrib/tigrc 644 usr/share/examples/tig
|
2012-09-07 15:43:45 +02:00
|
|
|
vinstall contrib/tig-completion.bash 644 \
|
|
|
|
usr/share/bash-completion/completions tig
|
|
|
|
}
|
2013-04-14 15:09:59 +02:00
|
|
|
|
|
|
|
tig_package() {
|
2013-08-10 21:01:58 +02:00
|
|
|
depends="git"
|
2013-04-14 15:09:59 +02:00
|
|
|
pkg_install() {
|
2013-08-27 06:46:50 +02:00
|
|
|
vmove all
|
2013-04-14 15:09:59 +02:00
|
|
|
}
|
|
|
|
}
|