aboutsummaryrefslogblamecommitdiffstats
path: root/main/htop/APKBUILD
blob: 5ecaf0430b67e7651de4423b88cb42ff98e13164 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                              
                                                          
            
            
        
                                    
                       
          
                          
                                                                 
                          
                                                   





                                                                                         

         
                     

                                 
                               
                                   
                                         
                                      
                                 

                                  


           
                                      

 
                                                                                                                                                                
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Carlo Landmeter <clandmeter@alpinelinux.org>
pkgname=htop
pkgver=3.0.5
pkgrel=1
pkgdesc="Interactive process viewer"
url="https://htop.dev/"
arch="all"
license="GPL-2.0-or-later"
makedepends="ncurses-dev python3 autoconf automake linux-headers"
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"

prepare() {
	default_prepare
	./autogen.sh
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--enable-cgroup \
		--enable-taskstats
	make
}

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

sha512sums="7dae83ceff6b3f30e69c30c9559dbb3bf69281df006c6a26e4e2c49dd5a147e05ed7bafeeac8ec5bedc8ba670470100cc128209a92654858f98df09a9394594f  htop-3.0.5.tar.gz"