mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 19:25:25 +03:00
32 lines
807 B
Text
32 lines
807 B
Text
# Contributor: Leszek Cimała <ernierasta@zori.cz>
|
|
# Maintainer:
|
|
pkgname=diffstat
|
|
pkgver=1.64
|
|
pkgrel=0
|
|
pkgdesc="read the output of diff and displays a histogram of the insertions, deletions, and modifications per-file"
|
|
url="https://invisible-island.net/diffstat"
|
|
arch="" # No tagged release archive
|
|
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="d647477beb49b0999c5de41d084da827528571c4848f40c69c2d64d060fc89848d15d03d59b1a31d79f02180f81d92cdf6e19d0172482bc569cf2a87476f12cf diffstat.tar.gz"
|