blob: 141937b538387155f75c75e1d0590c8173d82b7e (
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
34
35
36
37
|
# 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"
|