From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- extra/diffstat/PKGBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 extra/diffstat/PKGBUILD (limited to 'extra/diffstat') diff --git a/extra/diffstat/PKGBUILD b/extra/diffstat/PKGBUILD new file mode 100644 index 000000000..f2651acf0 --- /dev/null +++ b/extra/diffstat/PKGBUILD @@ -0,0 +1,27 @@ +# $Id: PKGBUILD 108700 2011-02-02 16:57:59Z giovanni $ +# Maintainer: Giovanni Scafora +# Contributor: Matthias-Christian Ott + +pkgname=diffstat +pkgver=1.54 +pkgrel=1 +pkgdesc="Display a histogram of diff changes" +arch=('i686' 'x86_64') +url="http://invisible-island.net/diffstat" +depends=('glibc') +license=('GPL') +source=("ftp://invisible-island.net/${pkgname}/${pkgname}-${pkgver}.tgz") +md5sums=('af08bef2eb37050ceb0c4fddedb2ee36') + +build () { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure --prefix=/usr \ + --mandir=/usr/share/man + make || return 1 +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR=${pkgdir}/ install || return 1 +} -- cgit v1.2.3-54-g00ecf