summaryrefslogtreecommitdiffstats
path: root/abs/extra/htop/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2011-08-06 05:52:22 (GMT)
committerBritney Fransen <brfransen@gmail.com>2011-08-06 05:52:22 (GMT)
commit3ca405f85ad235d170859610b72fffba13b7f142 (patch)
tree394acb3dd65b26467bc766ac6cf2008f83b0c510 /abs/extra/htop/PKGBUILD
parent69ba0bb5ec4b6f6ecf020b60cdc7040edba69c75 (diff)
downloadlinhes_pkgbuild-3ca405f85ad235d170859610b72fffba13b7f142.zip
linhes_pkgbuild-3ca405f85ad235d170859610b72fffba13b7f142.tar.gz
linhes_pkgbuild-3ca405f85ad235d170859610b72fffba13b7f142.tar.bz2
htop: Bump to latest.
Diffstat (limited to 'abs/extra/htop/PKGBUILD')
-rw-r--r--abs/extra/htop/PKGBUILD35
1 files changed, 24 insertions, 11 deletions
diff --git a/abs/extra/htop/PKGBUILD b/abs/extra/htop/PKGBUILD
index 95b9660..05c8826 100644
--- a/abs/extra/htop/PKGBUILD
+++ b/abs/extra/htop/PKGBUILD
@@ -1,22 +1,35 @@
-# $Id: PKGBUILD 21081 2008-12-09 17:41:11Z alexanderf $
-# Maintainer: Alexander Fehr <pizzapunk gmail com>
+# $Id$
+# Maintainer: Angel Velasquez <angvp@archlinux.org>
+# Contributor: Eric Belanger <eric@archlinux.org>
+# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
pkgname=htop
-pkgver=0.8.3
-pkgrel=1
+pkgver=0.9
+pkgrel=2
pkgdesc="Interactive process viewer"
arch=('i686' 'x86_64')
url="http://htop.sourceforge.net/"
license=('GPL')
depends=('ncurses')
+makedepends=('python2')
options=('!emptydirs')
-source=(http://downloads.sourceforge.net/htop/htop-$pkgver.tar.gz)
+changelog=ChangeLog
+source=(http://downloads.sourceforge.net/htop/${pkgname}-${pkgver}.tar.gz
+ htop.c.patch)
+md5sums=('7c5507f35f363f3f40183a2ba3c561f8'
+ '750e8ad8476c5d9738da2a2bc7a7c2b6')
build() {
- cd "$srcdir/htop-$pkgver"
- sed -i 's|ncursesw/curses.h|curses.h|' RichString.h RichString.c || return 1
- ./configure --prefix=/usr --enable-unicode || return 1
- make || return 1
- make DESTDIR="$pkgdir" install || return 1
+ 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
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
}
-md5sums=('5c9f093f9eaddf6e77aa6d54c2116d0c')