mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-11-03 18:01:55 +01:00
http://invisible-island.net/diffstat diffstat reads the output of diff and displays a histogram of the insertions, deletions, and modifications per-file.
38 lines
1.1 KiB
Plaintext
38 lines
1.1 KiB
Plaintext
# Contributor: Leszek Cimała <ernierasta@zori.cz>
|
|
# Maintainer:
|
|
pkgname=diffstat
|
|
pkgver=1.60
|
|
pkgrel=0
|
|
pkgdesc="diffstat reads the output of diff and displays a histogram of the insertions, deletions, and modifications per-file."
|
|
url="http://invisible-island.net/diffstat"
|
|
arch="all"
|
|
license="MIT"
|
|
depends=""
|
|
depends_dev=""
|
|
makedepends="$depends_dev"
|
|
install=""
|
|
subpackages="$pkgname-doc"
|
|
source="ftp://invisible-island.net/${pkgname}/${pkgname}-${pkgver}.tgz"
|
|
_builddir="$srcdir/$pkgname-$pkgver"
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--localstatedir=/var \
|
|
|| return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
}
|
|
md5sums="ba889da4c06b547aa2d78fa96800ae6f diffstat-1.60.tgz"
|
|
sha256sums="2032e418b43bae70d548e32da901ebc4ac12972381de1314bebde0b126fb0123 diffstat-1.60.tgz"
|
|
sha512sums="6cbcff7dfe6d51583d59d2c9dfe4cb958202491ca3c4b1096616380564a1842065434d30858c55c3ddcfc76cd07b58dfc4c4cb6cfdcf6346af60998170f51bd2 diffstat-1.60.tgz"
|