aboutsummaryrefslogblamecommitdiffstats
path: root/community/conmon/APKBUILD
blob: 6b9f616b2f57c7efda52732fdf4794d8283b1cbc (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                     
              
             
        
                                       
                                          
                    
          
                                                    
                          
                                                                                    
 


                       

                                                                

 











                                                  
            
                                                                                                                                                      
 
# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=conmon
pkgver=2.0.30
pkgrel=0
pkgdesc="OCI container runtime monitor"
url="https://github.com/containers/conmon"
license="Apache-2.0"
arch="all"
makedepends="bash go-md2man glib-dev libseccomp-dev"
subpackages="$pkgname-doc"
source="https://github.com/containers/conmon/archive/v$pkgver/conmon-$pkgver.tar.gz"

prepare() {
	default_prepare

	# fix location of go-md2man
	sed -E "s/(GOMD2MAN =).*/\1 go-md2man/" -i docs/Makefile
}

build() {
	make
}

check() {
	./bin/conmon --version
}

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

sha512sums="
2451e441913925f8423385b83e97630e980948a9bd57ae8800889016c4412a26bed598825d3c034c3edcecbab66c38417f55ad3866d3c2c98cada6acce2b2d16  conmon-2.0.30.tar.gz
"