desktop/htop/PKGBUILD
2010-08-05 22:20:52 +00:00

30 lines
939 B
Bash

#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
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/${pkgname}-${pkgver}.tar.gz)
md5sums=('5c9f093f9eaddf6e77aa6d54c2116d0c')
sha1sums=('2a0bf90f160b3d019e26712c94db612d6ff9a429')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
sed -i 's|ncursesw/curses.h|curses.h|' RichString.h RichString.c || return 1
./configure --prefix=/usr --enable-unicode --enable-openvz --enable-vserver || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
}