Date: Sunday, February 16, 2014 @ 05:06:30 Author: eric Revision: 206034
upgpkg: di 4.35-1 Upstream update Modified: di/trunk/PKGBUILD ----------+ PKGBUILD | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2014-02-16 02:34:53 UTC (rev 206033) +++ PKGBUILD 2014-02-16 04:06:30 UTC (rev 206034) @@ -2,7 +2,7 @@ # Maintainer: Eric Bélanger <[email protected]> pkgname=di -pkgver=4.34 +pkgver=4.35 pkgrel=1 pkgdesc="A disk information utility, displaying everything (and more) that your df command does" arch=('i686' 'x86_64') @@ -10,17 +10,15 @@ license=('ZLIB') depends=('glibc') source=(http://www.gentoo.com/di/${pkgname}-${pkgver}.tar.gz) -sha1sums=('5be548368bb795303f11cff340f3bbc659f892cd') +sha1sums=('989b03afb0bc40d4dbdcc8e2b6889cf2cf8e2852') build() { - cd "${srcdir}/${pkgname}-${pkgver}" - sed -i 's|error|//error|' C/di.h - sed -i '11i\#include <string.h>' C/di.h + cd ${pkgname}-${pkgver} make } package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd ${pkgname}-${pkgver} make INSTALL_DIR="${pkgdir}/usr" install install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }
