diff options
Diffstat (limited to 'extra/diffstat')
-rw-r--r-- | extra/diffstat/PKGBUILD | 12 |
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" } |