summaryrefslogtreecommitdiffstats
path: root/abs/extra/htop/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-11-26 14:56:33 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-11-26 14:56:33 (GMT)
commit0d54286b2b1d9a0d3fde6a3a8fef0834d8aab476 (patch)
treeacb0047734ce4b7be6fe0df37d8c2064d35ddaf6 /abs/extra/htop/PKGBUILD
parent13a53b0255f00a0fdb3ac9c6724f4394da38457e (diff)
downloadlinhes_pkgbuild-0d54286b2b1d9a0d3fde6a3a8fef0834d8aab476.zip
linhes_pkgbuild-0d54286b2b1d9a0d3fde6a3a8fef0834d8aab476.tar.gz
linhes_pkgbuild-0d54286b2b1d9a0d3fde6a3a8fef0834d8aab476.tar.bz2
htop: 1.0.9
Diffstat (limited to 'abs/extra/htop/PKGBUILD')
-rw-r--r--abs/extra/htop/PKGBUILD38
1 files changed, 21 insertions, 17 deletions
diff --git a/abs/extra/htop/PKGBUILD b/abs/extra/htop/PKGBUILD
index 05c8826..93b4db6 100644
--- a/abs/extra/htop/PKGBUILD
+++ b/abs/extra/htop/PKGBUILD
@@ -1,35 +1,39 @@
-# $Id$
+# $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=0.9
-pkgrel=2
+pkgver=1.0.2
+pkgrel=1
pkgdesc="Interactive process viewer"
arch=('i686' 'x86_64')
url="http://htop.sourceforge.net/"
license=('GPL')
depends=('ncurses')
makedepends=('python2')
+optdepends=('lsof: show files opened by a process'
+ 'strace: attach to a running process')
options=('!emptydirs')
-changelog=ChangeLog
-source=(http://downloads.sourceforge.net/htop/${pkgname}-${pkgver}.tar.gz
- htop.c.patch)
-md5sums=('7c5507f35f363f3f40183a2ba3c561f8'
- '750e8ad8476c5d9738da2a2bc7a7c2b6')
+source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
+md5sums=('0d01cca8df3349c74569cefebbd9919e')
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
+ cd "$pkgname-$pkgver"
+
+ sed -i 's|ncursesw/curses.h|curses.h|' RichString.[ch] configure
+ sed -i 's|python|python2|' scripts/MakeHeader.py
+
+ ./configure \
+ --prefix=/usr \
+ --enable-unicode \
+ --enable-openvz \
+ --enable-vserver \
+ --enable-cgroup
+
+ make
}
package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install
+ make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
}