summaryrefslogtreecommitdiff
path: root/extra/htop
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-11-07 01:04:45 -0800
committerroot <root@rshg054.dnsready.net>2012-11-07 01:04:45 -0800
commita8fff09ba6d0f8b78b43e63541b1254763d4f48e (patch)
treed5ed9796d5aa31b378f4bfed4482b84008e731fa /extra/htop
parent85e0e667660650d70269432a90401d4288776d9d (diff)
Wed Nov 7 01:04:45 PST 2012
Diffstat (limited to 'extra/htop')
-rw-r--r--extra/htop/PKGBUILD29
1 files changed, 15 insertions, 14 deletions
diff --git a/extra/htop/PKGBUILD b/extra/htop/PKGBUILD
index 3f17df113..93b4db608 100644
--- a/extra/htop/PKGBUILD
+++ b/extra/htop/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 150717 2012-02-21 01:27:23Z angvp $
+# $Id: PKGBUILD 170397 2012-11-07 01:25:17Z dreisner $
# Maintainer: Angel Velasquez <angvp@archlinux.org>
# Contributor: Eric Belanger <eric@archlinux.org>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
pkgname=htop
-pkgver=1.0.1
+pkgver=1.0.2
pkgrel=1
pkgdesc="Interactive process viewer"
arch=('i686' 'x86_64')
@@ -12,27 +12,28 @@ url="http://htop.sourceforge.net/"
license=('GPL')
depends=('ncurses')
makedepends=('python2')
-optdepends=('lsof' 'strace')
+optdepends=('lsof: show files opened by a process'
+ 'strace: attach to a running process')
options=('!emptydirs')
-changelog=ChangeLog
-source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz)
-md5sums=('d3b80d905a6bff03f13896870787f901')
+source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
+md5sums=('0d01cca8df3349c74569cefebbd9919e')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "$pkgname-$pkgver"
- sed -i 's|ncursesw/curses.h|curses.h|' RichString.h RichString.c configure
- sed -i 's|python|python2|' scripts/MakeHeader.py
+ sed -i 's|ncursesw/curses.h|curses.h|' RichString.[ch] configure
+ sed -i 's|python|python2|' scripts/MakeHeader.py
- ./configure --prefix=/usr \
+ ./configure \
+ --prefix=/usr \
--enable-unicode \
--enable-openvz \
- --enable-vserver \
+ --enable-vserver \
--enable-cgroup
- make
+
+ make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
+ make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
}