blob: 96a8020a9887836044ff83774375d952205fe4ad (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=htop
pkgver=2.0.0
pkgrel=0
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 \
--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="06f76c7d644ce8ae611c9feb10439a30 htop-2.0.0.tar.gz"
sha256sums="d15ca2a0abd6d91d6d17fd685043929cfe7aa91199a9f4b3ebbb370a2c2424b5 htop-2.0.0.tar.gz"
sha512sums="2df1b96e4c07a1de360dc7b7b20db0e663d7fa2c9a8a9dcc3d7dc1ce5e5b59f72d927e8e7ae919631cf0e950a82450b45116a1f8d788f63c5762bd73332ec32c htop-2.0.0.tar.gz"
|