alpine-overlay/v3.16/conmon/APKBUILD

36 lines
825 B
Plaintext

# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=conmon
pkgver=2.1.2
pkgrel=1
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='
98bc7873207dd9ddf70bae403bf052b94c5ef053929be2383f4c1bbccc040dbdd3241e64df5cb6e2c80f006ec32947cd15de8bbf039be1d62fe7d4342bd378b1 conmon-2.1.2.tar.gz
'