summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e60f3593ce06932f288f3817316faaeb82e0794f (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
# Maintainer: graysky <graysky AT archlinux DOT us>
# Contributor: Christian Hesse <mail@eworm.de>
# Contributor: Angel Velasquez <angvp@archlinux.org>
# Contributor: Eric Belanger <eric@archlinux.org>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>

pkgname=htop-devel
_pkgname=htop
pkgver=3.0.0beta5
pkgrel=1
pkgdesc='Interactive process viewer'
arch=('x86_64')
url='https://hisham.hm/htop/'
license=('GPL')
depends=('ncurses' 'libnl')
makedepends=('python')
conflicts=('htop' 'htop-git')
optdepends=('lsof: show files opened by a process'
            'strace: attach to a running process')
options=('!emptydirs')
source=("https://github.com/hishamhm/$_pkgname/archive/$pkgver.tar.gz")
sha256sums=('c439add8d6a463699629fc3f0103f55b045d519c31611fa4a68629063238985a')

build() {
  cd "$_pkgname-$pkgver"

  ./autogen.sh

  ./configure \
      --prefix=/usr \
      --sysconfdir=/etc \
      --enable-cgroup \
      --enable-delayacct \
      --enable-openvz \
      --enable-unicode \
      --enable-vserver

  make
}

package() {
  make -C "$_pkgname-$pkgver" DESTDIR="$pkgdir" install
}