summaryrefslogtreecommitdiffstats
path: root/abs/extra/htop/PKGBUILD
blob: 95b966094243bc007728688a624ce1629740fa09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $Id: PKGBUILD 21081 2008-12-09 17:41:11Z alexanderf $
# Maintainer: Alexander Fehr <pizzapunk gmail com>

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')