summaryrefslogtreecommitdiff
path: root/opt/conmon/MAKEPKG
diff options
context:
space:
mode:
Diffstat (limited to 'opt/conmon/MAKEPKG')
-rw-r--r--opt/conmon/MAKEPKG33
1 files changed, 33 insertions, 0 deletions
diff --git a/opt/conmon/MAKEPKG b/opt/conmon/MAKEPKG
new file mode 100644
index 0000000..b52c3fb
--- /dev/null
+++ b/opt/conmon/MAKEPKG
@@ -0,0 +1,33 @@
+#!/bin/mkpkg
+# description: OCI container runtime monitor
+# url: https://github.com/containers/conmon
+
+name=conmon
+version=2.2.1
+release=1
+depends=(glib libseccomp)
+source=(https://github.com/containers/$name/archive/refs/tags/v$version.tar.gz)
+renames=($name-$version.tar.gz)
+
+sha256sums=(
+ "814fb5979a3a4b8576b1f901e606b482bebb41cb7e57926e6d5765ee786b96d3"
+)
+
+build() {
+ cd $name-$version
+
+ make \
+ PREFIX=/usr \
+ CC=clang \
+ CFLAGS="$CFLAGS" \
+ podman
+
+ install -Dm755 bin/conmon $PKG/usr/libexec/podman/conmon
+}
+
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+
+# vim: filetype=sh