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

                                                              
            
            
        

                                    
          
                          
          
                                 
                          
                                                   

                                                                      
 
                                   
         
                      
                     

                                 
                               
                                   
                                         
                                      
                                 

                                  


           

                                      

 

                                                                                                                                                               
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=htop
pkgver=2.2.0
pkgrel=0
pkgdesc="Interactive process viewer"
url="http://hisham.hm/htop"
arch="all"
license="GPL-2.0-or-later"
depends=""
makedepends="ncurses-dev python3"
subpackages="$pkgname-doc"
options="!check" # no upstream/available test-suite
source="http://hisham.hm/htop/releases/$pkgver/$pkgname-$pkgver.tar.gz
	fix-python-path.patch"

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

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

sha512sums="ec1335bf0e3e0387e5e50acbc508d0effad19c4bc1ac312419dc97b82901f4819600d6f87a91668f39d429536d17304d4b14634426a06bec2ecd09df24adc62e  htop-2.2.0.tar.gz
f2eeafb7207ba14dc7577aa85618adb71fb689a42476d04c99f6be01e8c6ac77cd5ed8ee056b80ddb60c821e1d2c44ebcf4da40960c3b7e8bb3a0d64aad0fd9a  fix-python-path.patch"