summaryrefslogblamecommitdiff
path: root/user/htop/APKBUILD
blob: aba5d2c6b9379145399b1fe82325a5ad53890d8a (plain) (tree)
1
2
3
4
5
6
7
8


                                                              

                                                   
        
                                    
                       



                                  
                                                                   
                          







                                                                                                             

         
                                       




                                         
                                    



            


                                      
                                                                                                                                                                                                   
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=htop
pkgver=3.4.0_git20240813
_pkgcommit=59578afd5e5856e2b017d40e20ebe32102f123aa
pkgrel=0
pkgdesc="Interactive process viewer"
url="https://htop.dev/"
arch="all"
options="!check"  # No test suite.
license="GPL-2.0+"
depends=""
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="${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 \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="0cca8d0947e45875d15a6a18b5959a37a76d4a14ff77ceb2840d446d2dd58814cc80bfa34da4f58949076980cd695a77ad9f12464964937b8f7bcc6328d3e551  htop-59578afd5e5856e2b017d40e20ebe32102f123aa.tar.gz"