mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-21 18:25:41 +03:00
33 lines
831 B
Text
33 lines
831 B
Text
# 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"
|