aboutsummaryrefslogtreecommitdiffstats
path: root/testing/diffstat/APKBUILD
blob: ae487be998d925009498bffbbdda4a791cd6f81d (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
# Contributor: Leszek Cimała <ernierasta@zori.cz>
# Maintainer:
pkgname=diffstat
pkgver=1.62
pkgrel=0
pkgdesc="diffstat reads the output of diff and displays a histogram of the insertions, deletions, and modifications per-file."
url="https://invisible-island.net/diffstat"
arch="all"
license="MIT"
subpackages="$pkgname-doc"
source="https://invisible-island.net/datafiles/release/${pkgname}.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="a8088ac0c0e38458504da37249c1d51ae9d839044e4cb8a60a1424eca883e1ec4815c1b1a8d9dae60e909b5495e60a9eda88e0a4572392ed8019d27b171688ff  diffstat.tar.gz"