summaryrefslogtreecommitdiff
path: root/user/htop/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/htop/APKBUILD')
-rw-r--r--user/htop/APKBUILD16
1 files changed, 12 insertions, 4 deletions
diff --git a/user/htop/APKBUILD b/user/htop/APKBUILD
index 602b2b9f1..aba5d2c6b 100644
--- a/user/htop/APKBUILD
+++ b/user/htop/APKBUILD
@@ -1,7 +1,8 @@
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=htop
-pkgver=3.3.0
+pkgver=3.4.0_git20240813
+_pkgcommit=59578afd5e5856e2b017d40e20ebe32102f123aa
pkgrel=0
pkgdesc="Interactive process viewer"
url="https://htop.dev/"
@@ -9,9 +10,16 @@ arch="all"
options="!check" # No test suite.
license="GPL-2.0+"
depends=""
-makedepends="libexecinfo-dev ncurses-dev python3"
+makedepends="autoconf automake libexecinfo-dev ncurses-dev python3"
subpackages="$pkgname-doc"
-source="https://github.com/htop-dev/htop/releases/download/$pkgver/$pkgname-$pkgver.tar.xz"
+#source="https://github.com/htop-dev/htop/releases/download/$pkgver/$pkgname-$pkgver.tar.xz"
+source="${pkgname}-${_pkgcommit}.tar.gz::https://github.com/htop-dev/${pkgname}/archive/${_pkgcommit}.tar.gz"
+builddir="$srcdir"/${pkgname}-${_pkgcommit}
+
+prepare() {
+ default_prepare
+ ./autogen.sh
+}
build() {
LIBS="-lexecinfo" ./configure \
@@ -28,4 +36,4 @@ package() {
make DESTDIR="$pkgdir" install
}
-sha512sums="f98d4a4370954969d0ae16993d80ca5ce48670a711f17445de979513ac9caf2b197291732d937ae07d48709ded660ea09601b3a41ad7c48b3abb87e7a67deb65 htop-3.3.0.tar.xz"
+sha512sums="0cca8d0947e45875d15a6a18b5959a37a76d4a14ff77ceb2840d446d2dd58814cc80bfa34da4f58949076980cd695a77ad9f12464964937b8f7bcc6328d3e551 htop-59578afd5e5856e2b017d40e20ebe32102f123aa.tar.gz"