summaryrefslogblamecommitdiff
path: root/user/htop/APKBUILD
blob: 2dc87cfa712cb63675842afb8c5fcf6e781ef364 (plain) (tree)



































                                                                                                                                                               
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=htop
pkgver=2.2.0
pkgrel=0
pkgdesc="Interactive process viewer"
url="http://hisham.hm/htop"
arch="all"
options="!check"  # No test suite.
license="GPL-2.0+"
depends=""
makedepends="ncurses-dev python3"
subpackages="$pkgname-doc"
source="http://hisham.hm/htop/releases/$pkgver/$pkgname-$pkgver.tar.gz
	fix-python-path.patch"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--enable-cgroup \
		--enable-taskstats
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="ec1335bf0e3e0387e5e50acbc508d0effad19c4bc1ac312419dc97b82901f4819600d6f87a91668f39d429536d17304d4b14634426a06bec2ecd09df24adc62e  htop-2.2.0.tar.gz
16358bcd6d83181cc04dd8a7971f7cc0804dc49995208bad2042bcca7962f562bbd008c2185f24aa6186c58896e94e4ec02e2053dc46ed14789889d64836b679  fix-python-path.patch"