summaryrefslogtreecommitdiff
path: root/opt/conmon/MAKEPKG
blob: b52c3fbb9c416a4a474be5c084692ffd133fbb3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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