blob: 3e9af925dfcf4324ee3b2daf398001ecb600ae8c (
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.61
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="c048a32d55d8bd6724f382baf41f325f diffstat-1.61.tgz"
sha256sums="25359e0c27183f997b36c9202583b5dc2df390c20e22a92606af4bf7856a55ee diffstat-1.61.tgz"
sha512sums="48166e1241904b955c0f5543b1f11724a1a91516fcba5ad0603441d985728de3e0fca5f5212704dd0fc9a9e5062788b1b34062869137fd851932233d4abad114 diffstat-1.61.tgz"
|