aboutsummaryrefslogtreecommitdiffstats
path: root/community/colordiff/APKBUILD
blob: 43363fb3221ceaee1b43afce5e8fb0d1415af311 (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
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=colordiff
pkgver=1.0.18
pkgrel=1
pkgdesc="Color terminal highlighter for diff files"
url="https://www.colordiff.org"
arch="noarch"
license="GPL-2.0-or-later"
depends="diffutils less perl"
makedepends="lynx xmlto"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/daveewart/$pkgname/archive/v$pkgver.tar.gz"

build() {
	make doc
}

check() {
	make -C verify
}

package() {
	make install \
		DESTDIR="$pkgdir" \
		INSTALL_DIR=/usr/bin \
		MAN_DIR=/usr/share/man/man1
}

sha512sums="483b29d6dbb53e0c31cfb096808a7b9dde64891180bc29262d02761af91d0d5cf5c0d0972ae678a8ea868b935b02424390166a1141a32320f222635c5184d360  colordiff-1.0.18.tar.gz"