blob: b2d90bc90bc9f32fb24820da1d961081ae48e8ae (
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
|
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=htop
pkgver=1.0.3
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 \
--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"
|