mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
32 lines
793 B
Text
32 lines
793 B
Text
# Contributor: Leszek Cimała <ernierasta@zori.cz>
|
|
# Maintainer:
|
|
pkgname=diffstat
|
|
pkgver=1.63
|
|
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/diffstat.tar.gz"
|
|
|
|
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="e1319f95088e615d442b0b02af922605d0c76e15ba2f0e8cf8c4db56949ac63f4a6e3e42099254480b9aab388cbd6550f515ed4d4995c6723d24f392d1872b16 diffstat.tar.gz"
|