diff options
Diffstat (limited to 'community/diffstat')
-rw-r--r-- | community/diffstat/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/community/diffstat/PKGBUILD b/community/diffstat/PKGBUILD new file mode 100644 index 000000000..3daf97939 --- /dev/null +++ b/community/diffstat/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 102318 2013-12-08 09:22:50Z giovanni $ +# Maintainer: Giovanni Scafora <giovanni@archlinux.org> +# Contributor: Matthias-Christian Ott <matthias.christian.at.tiscali.de> + +pkgname=diffstat +pkgver=1.58 +pkgrel=1 +pkgdesc="Display a histogram of diff changes" +arch=('i686' 'x86_64') +url="http://invisible-island.net/diffstat" +depends=('glibc') +license=('MIT') +source=("ftp://invisible-island.net/${pkgname}/${pkgname}-${pkgver}.tgz") +md5sums=('6d6e13f7dcfe4db5da65c5175260ea47') + +build () { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure --prefix=/usr \ + --mandir=/usr/share/man + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR=${pkgdir}/ install + install -Dm644 package/debian/copyright "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} |