summaryrefslogtreecommitdiff
path: root/extra/htop/PKGBUILD
blob: dce19cc82ca4de487ceec660e71f3eb0eb000fdd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $Id: PKGBUILD 105144 2011-01-06 20:57:13Z angvp $
# Contributor: Eric Belanger <eric@archlinux.org>
# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>

pkgname=htop
pkgver=0.9
pkgrel=1
pkgdesc="Interactive process viewer"
arch=('i686' 'x86_64')
url="http://htop.sourceforge.net/"
license=('GPL')
depends=('ncurses')
makedepends=('python2')
options=('!emptydirs')
source=(http://downloads.sourceforge.net/htop/${pkgname}-${pkgver}.tar.gz)
md5sums=('7c5507f35f363f3f40183a2ba3c561f8')

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 
}