ptrcports/htop-full/APKBUILD

49 lines
978 B
Text
Raw Normal View History

2022-05-03 18:33:00 +00:00
# Maintainer: psykose <alice@ayaya.dev>
pkgname=htop-full
2023-02-05 19:11:00 +00:00
pkgver=3.2.2
2022-05-03 18:33:00 +00:00
pkgrel=0
pkgdesc="Interactive process viewer"
url="https://htop.dev/"
2023-05-03 01:11:45 +00:00
arch="aarch64 x86_64"
2022-05-03 18:33:00 +00:00
license="GPL-2.0-or-later"
makedepends="
autoconf
automake
hwloc-dev
libcap-dev
libnl3-dev
linux-headers
lm-sensors-dev
ncurses-dev
python3
"
subpackages="$pkgname-doc"
options="!check" # no upstream/available test-suite
source="$pkgname-$pkgver.tar.gz::https://github.com/htop-dev/htop/archive/$pkgver.tar.gz"
builddir="$srcdir/htop-$pkgver"
prepare() {
default_prepare
NOCONFIGURE=1 ./autogen.sh
}
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
2022-05-03 18:39:42 +00:00
--enable-delayacct
2022-05-03 18:33:00 +00:00
make
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="
2023-02-05 19:11:00 +00:00
dd82d5b2f70694e76b3740ef0f6f6d3446fe83b748c2cfe61c783985d62cb6e1d00fcb4b1fe7dc8f1d8c6bc7b29474e1e88eaa01f154198d702b100bcbc135bb htop-full-3.2.2.tar.gz
2022-05-03 18:33:00 +00:00
"