aboutsummaryrefslogtreecommitdiffstats
path: root/community/colordiff/APKBUILD
blob: 6e3ff85efac18e06ed4bebed28e12643f9d3b1e7 (plain) (blame)
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.19
pkgrel=0
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/colordiff/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="f51836d7731887269ff5fe06bc5e6ce6ff2fd3c40463f812c07767ff17583b42e2b794b174854371369e108904c90dc8fd9c9032e02b9360db69a6ecd2d9fdc9  colordiff-1.0.19.tar.gz"