# Contributor: Sören Tempel # Maintainer: Carlo Landmeter pkgname=htop pkgver=2.0.2 pkgrel=0 pkgdesc="An interactive process viewer" url="http://hisham.hm/htop/" arch="all" license="GPL-2.0" depends="" makedepends="ncurses-dev" subpackages="$pkgname-doc" source="$url/releases/$pkgver/$pkgname-$pkgver.tar.gz" _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --enable-cgroups \ --enable-taskstats \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 } md5sums="7d354d904bad591a931ad57e99fea84a htop-2.0.2.tar.gz" sha256sums="179be9dccb80cee0c5e1a1f58c8f72ce7b2328ede30fb71dcdf336539be2f487 htop-2.0.2.tar.gz" sha512sums="1c9bf71a36c56b301667aa6d03756fc757fbcb63e848d9581d10db3df6193cdeb00e55ceb6e2392794ac03ea034b04459a8fe550b3ac2318cd86263a74c78cda htop-2.0.2.tar.gz"