[arch-commits] Commit in diffstat/trunk (PKGBUILD)
Giovanni Scafora
giovanni at archlinux.org
Sat Sep 10 22:55:49 UTC 2011
Date: Saturday, September 10, 2011 @ 18:55:49
Author: giovanni
Revision: 137782
upgpkg: diffstat 1.54-2
Fixed FS25944
Modified:
diffstat/trunk/PKGBUILD
----------+
PKGBUILD | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-09-10 22:38:55 UTC (rev 137781)
+++ PKGBUILD 2011-09-10 22:55:49 UTC (rev 137782)
@@ -4,12 +4,12 @@
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 @@
./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"
}
More information about the arch-commits
mailing list