# $Id: PKGBUILD 21081 2008-12-09 17:41:11Z alexanderf $ # Maintainer: Alexander Fehr pkgname=htop pkgver=0.8.3 pkgrel=1 pkgdesc="Interactive process viewer" arch=('i686' 'x86_64') url="http://htop.sourceforge.net/" license=('GPL') depends=('ncurses') options=('!emptydirs') source=(http://downloads.sourceforge.net/htop/htop-$pkgver.tar.gz) 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 } md5sums=('5c9f093f9eaddf6e77aa6d54c2116d0c')