# Maintainer: Carlo Landmeter pkgname=htop pkgver=1.0.3 pkgrel=1 pkgdesc="An interactive process viewer" url="http://hisham.hm/htop/" arch="all" license="GPL2" depends="" makedepends="ncurses-dev" subpackages="$pkgname-doc" source="$url/releases/$pkgver/$pkgname-$pkgver.tar.gz" _builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$_builddir" update_config_sub || return 1 } build() { cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --mandir=/usr/share/man \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 } md5sums="e768b9b55c033d9c1dffda72db3a6ac7 htop-1.0.3.tar.gz" sha256sums="055c57927f75847fdc222b5258b079a9542811a9dcf5421c615c7e17f55d1829 htop-1.0.3.tar.gz" sha512sums="4c5c784b093bcad06eb2e8d8bb215e14f6e838a3d47d8da8402344c270c1724f85d0bcde2899571ba5d0e5a02274a0c3390a76fed61785b2604b51351f08f232 htop-1.0.3.tar.gz"