Date: Thursday, August 27, 2020 @ 12:26:45 Author: eworm Revision: 394763
archrelease: copy trunk to testing-x86_64 Added: htop/repos/testing-x86_64/ htop/repos/testing-x86_64/PKGBUILD (from rev 394762, htop/trunk/PKGBUILD) ----------+ PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) Copied: htop/repos/testing-x86_64/PKGBUILD (from rev 394762, htop/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2020-08-27 12:26:45 UTC (rev 394763) @@ -0,0 +1,43 @@ +# 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 +pkgver=3.0.0 +pkgrel=1 +pkgdesc='Interactive process viewer' +arch=('x86_64') +url='https://htop.dev/' +license=('GPL') +depends=('ncurses' 'libncursesw.so' 'libnl') +optdepends=('lsof: show files opened by a process' + 'strace: attach to a running process') +options=('!emptydirs') +source=("https://github.com/htop-dev/htop/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz") +sha256sums=('1c0661f0ae5f4e2874da250b60cd515e4ac4c041583221adfe95f10e18d1a4e6') + +prepare() { + cd "$pkgname-$pkgver" + + autoreconf -fi +} + +build() { + cd "$pkgname-$pkgver" + + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --enable-cgroup \ + --enable-delayacct \ + --enable-openvz \ + --enable-unicode \ + --enable-vserver + + make +} + +package() { + make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install +}