summaryrefslogtreecommitdiff
path: root/extra/htop/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/htop/PKGBUILD')
-rw-r--r--extra/htop/PKGBUILD15
1 files changed, 10 insertions, 5 deletions
diff --git a/extra/htop/PKGBUILD b/extra/htop/PKGBUILD
index dce19cc82..75e357adf 100644
--- a/extra/htop/PKGBUILD
+++ b/extra/htop/PKGBUILD
@@ -1,10 +1,11 @@
-# $Id: PKGBUILD 105144 2011-01-06 20:57:13Z angvp $
+# $Id: PKGBUILD 124246 2011-05-18 04:38:36Z angvp $
+# Maintainer: Angel Velasquez <angvp@archlinux.org>
# Contributor: Eric Belanger <eric@archlinux.org>
-# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
+# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
pkgname=htop
pkgver=0.9
-pkgrel=1
+pkgrel=2
pkgdesc="Interactive process viewer"
arch=('i686' 'x86_64')
url="http://htop.sourceforge.net/"
@@ -12,13 +13,17 @@ license=('GPL')
depends=('ncurses')
makedepends=('python2')
options=('!emptydirs')
-source=(http://downloads.sourceforge.net/htop/${pkgname}-${pkgver}.tar.gz)
-md5sums=('7c5507f35f363f3f40183a2ba3c561f8')
+changelog=ChangeLog
+source=(http://downloads.sourceforge.net/htop/${pkgname}-${pkgver}.tar.gz
+ htop.c.patch)
+md5sums=('7c5507f35f363f3f40183a2ba3c561f8'
+ '750e8ad8476c5d9738da2a2bc7a7c2b6')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
sed -i 's|ncursesw/curses.h|curses.h|' RichString.h RichString.c configure
sed -i 's|python|python2|' scripts/MakeHeader.py
+ patch -Np0 -i $srcdir/htop.c.patch
./configure --prefix=/usr --enable-unicode --enable-openvz \
--enable-vserver
make