desktop/htop/PKGBUILD

34 lines
911 B
Bash
Raw Normal View History

2010-08-06 06:20:52 +08:00
#
# 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>
pkgname=htop
2012-02-18 01:16:58 +08:00
pkgver=1.0.1
2011-11-22 04:25:35 +08:00
pkgrel=1
2010-08-06 06:20:52 +08:00
pkgdesc="Interactive process viewer"
arch=('i686' 'x86_64')
url="http://htop.sourceforge.net/"
license=('GPL')
depends=('ncurses')
makedepends=('python2')
2010-08-06 06:20:52 +08:00
options=('!emptydirs')
categories=('utils')
2010-08-06 06:20:52 +08:00
source=(http://downloads.sourceforge.net/htop/${pkgname}-${pkgver}.tar.gz)
2012-02-18 01:16:58 +08:00
md5sums=('d3b80d905a6bff03f13896870787f901')
2010-08-06 06:20:52 +08:00
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
./configure --prefix=/usr --enable-unicode --enable-openvz \
--enable-vserver
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
2010-08-06 06:20:52 +08:00
}