blob: 40e29549c1969c6314056d621f4aa978ee0642ab (
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
44
45
46
47
48
49
|
# Maintainer: Yardena Cohen <yardenack at gmail dot com>
gitname=htop
pkgname=${gitname}-git
pkgver=3.3.0.r64.gef6658c2
pkgrel=1
epoch=1
pkgdesc="Interactive text-mode process viewer"
url="https://github.com/htop-dev/htop"
license=('GPL-2.0-or-later')
arch=('i686' 'x86_64')
depends=('libcap' 'libcap.so' 'libnl' 'ncurses' 'libncursesw.so')
makedepends=('git' 'lm_sensors')
optdepends=('lsof: list open files for running process'
'strace: attach to running process'
'lm_sensors: temperature monitoring')
provides=('htop')
conflicts=('htop')
options=('!emptydirs')
source=("git+$url.git")
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${gitname}"
git describe --long --tags --abbrev=8 | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd "${srcdir}/${gitname}"
./autogen.sh
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--enable-unicode \
--enable-openvz \
--enable-vserver
}
build() {
cd "${srcdir}/${gitname}"
make
}
package() {
cd "${srcdir}/${gitname}"
make DESTDIR="${pkgdir}" install
}
|