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

                                                     
            
          
        
                                                                                              
                                        
          
                                                




                                                                                         


                                 










                                           
            
                                                                                                                                                 
 
# Contributor: kohnish <kohnish@gmx.com>
# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=crun
pkgver=1.0
pkgrel=0
pkgdesc="Fast and lightweight fully featured OCI runtime and C library for running containers"
url="https://github.com/containers/crun"
arch="all"
license="GPL-2.0-or-later AND LGPL-2.1-or-later"
makedepends="libcap-dev libseccomp-dev yajl-dev argp-standalone python3 go-md2man"
subpackages="$pkgname-doc $pkgname-static"
source="https://github.com/containers/crun/releases/download/$pkgver/crun-$pkgver.tar.xz"

build() {
	./configure \
		--prefix=/usr \
		--disable-systemd
	make
}

check() {
	make tests/tests_libcrun_errors.log
}

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

sha512sums="
4b153824261a339c882cd8496a53b2c03c554c23e557f2b2d8c78f4b642292d0345a6b64e94a5de1527d1d59456ddc00400296af107185bcd0f0f9394bba1fd0  crun-1.0.tar.xz
"