Date: Friday, October 15, 2021 @ 18:19:42 Author: eworm Revision: 426045
archrelease: copy trunk to testing-x86_64 Added: htop/repos/testing-x86_64/ htop/repos/testing-x86_64/PKGBUILD (from rev 426044, htop/trunk/PKGBUILD) ----------+ PKGBUILD | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) Copied: htop/repos/testing-x86_64/PKGBUILD (from rev 426044, htop/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2021-10-15 18:19:42 UTC (rev 426045) @@ -0,0 +1,50 @@ +# Maintainer: Christian Hesse <m...@eworm.de> +# Maintainer: Angel Velasquez <an...@archlinux.org> +# Contributor: Eric Belanger <e...@archlinux.org> +# Contributor: Daniel J Griffiths <ghost1...@archlinux.us> + +pkgname=htop +_tag='d71ea9c9c4e91f2a92adbaf435a0b8970b3403a6' # git rev-parse ${pkgver} +pkgver=3.1.1 +pkgrel=1 +pkgdesc='Interactive process viewer' +arch=('x86_64') +url='https://htop.dev/' +license=('GPL') +depends=('libcap' 'libcap.so' 'libnl' 'ncurses' 'libncursesw.so') +makedepends=('git' 'lm_sensors') +optdepends=('lm_sensors: show cpu temperatures' + 'lsof: show files opened by a process' + 'strace: attach to a running process') +options=('!emptydirs') +validpgpkeys=('F7ABE8761E6FE68638E6283AFE0842EE36DD8C0C' # Nathan Scott <nath...@debian.org> + '0D316B6ABE022C7798D0324BF1D35CB9E8E12EAD') # Benny Baumann <be...@geshi.org> +source=("git+https://github.com/htop-dev/htop.git#tag=${_tag}?signed") +sha256sums=('SKIP') + +prepare() { + cd "${pkgname}" + + autoreconf -fi +} + +build() { + cd "${pkgname}" + + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --enable-cgroup \ + --enable-delayacct \ + --enable-openvz \ + --enable-unicode \ + --enable-vserver + + make +} + +package() { + cd "${pkgname}" + + make DESTDIR="${pkgdir}" install +}