summaryrefslogtreecommitdiff
path: root/extra/diffstat
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-09-11 23:14:33 +0000
committerroot <root@rshg054.dnsready.net>2011-09-11 23:14:33 +0000
commit1d2f1a1e70011a41d17f2f16d5e90c491ccdabb8 (patch)
tree4f22b6f4f4737987b4eec85fbc027684f209df2e /extra/diffstat
parent1dc1efa50ce9926a6ed832bda2ebe3319485ac09 (diff)
Sun Sep 11 23:14:33 UTC 2011
Diffstat (limited to 'extra/diffstat')
-rw-r--r--extra/diffstat/PKGBUILD12
1 files changed, 7 insertions, 5 deletions
diff --git a/extra/diffstat/PKGBUILD b/extra/diffstat/PKGBUILD
index f2651acf0..b995bb41a 100644
--- a/extra/diffstat/PKGBUILD
+++ b/extra/diffstat/PKGBUILD
@@ -1,15 +1,15 @@
-# $Id: PKGBUILD 108700 2011-02-02 16:57:59Z giovanni $
+# $Id: PKGBUILD 137783 2011-09-10 22:56:16Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Matthias-Christian Ott <matthias.christian.at.tiscali.de>
pkgname=diffstat
pkgver=1.54
-pkgrel=1
+pkgrel=2
pkgdesc="Display a histogram of diff changes"
arch=('i686' 'x86_64')
url="http://invisible-island.net/diffstat"
depends=('glibc')
-license=('GPL')
+license=('MIT')
source=("ftp://invisible-island.net/${pkgname}/${pkgname}-${pkgver}.tgz")
md5sums=('af08bef2eb37050ceb0c4fddedb2ee36')
@@ -18,10 +18,12 @@ build () {
./configure --prefix=/usr \
--mandir=/usr/share/man
- make || return 1
+ make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR=${pkgdir}/ install || return 1
+
+ make DESTDIR=${pkgdir}/ install
+ install -Dm644 package/debian/copyright "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}