blob: 5bf54e385c316bc817bcde9a925b081eaf85f664 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=tig
pkgver=2.2
pkgrel=0
pkgdesc="Text-mode interface for the git revision control system"
url="http://jonas.nitro.dk/tig"
arch="all"
license="GPL2+"
depends="git"
makedepends="ncurses-dev xmlto asciidoc git"
subpackages="$pkgname-doc"
source="http://jonas.nitro.dk/tig/releases/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
|| return 1
make all doc-man || return 1
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install install-doc-man || return 1
}
md5sums="11c1c3c54a8c9883b14a35ba1dad0b87 tig-2.2.tar.gz"
sha256sums="8f5213d3abb45ca9a79810b8d2a2a12d941112bc4682bcfa91f34db74942754c tig-2.2.tar.gz"
sha512sums="53b85a1309becc7a72e915801ef9412de113f3d113ab0e3915c77999b86a58f4144f267cd3a6c47af8229e00b6146d5e6c38a591077dd746a5f0518b6a50ceae tig-2.2.tar.gz"
|