diff options
Diffstat (limited to 'opt/podman/MAKEPKG')
| -rw-r--r-- | opt/podman/MAKEPKG | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/opt/podman/MAKEPKG b/opt/podman/MAKEPKG new file mode 100644 index 0000000..da026b9 --- /dev/null +++ b/opt/podman/MAKEPKG @@ -0,0 +1,56 @@ +#!/bin/mkpkg +# description: Daemonless container engine for OCI containers +# url: https://podman.io/ + +name=podman +version=6.1.2 +release=1 +depends=(crun conmon netavark aardvark-dns passt catatonit + containers-common nftables libseccomp shadow) +makedeps=(go) +source=(https://github.com/containers/$name/archive/refs/tags/v$version.tar.gz) +renames=($name-$version.tar.gz) +sha256sums=( + "a4b2b10bd560cf9b4c50c282bd04bb74486ff6c78bebd51427f779fe985fc1bb" +) + +build() { + cd $name-$version + export GOPATH="$SRC/go" + export GOFLAGS="-trimpath -v" + export BUILDTAGS="exclude_graphdriver_btrfs \ + exclude_graphdriver_devicemapper \ + containers_image_openpgp \ + seccomp" + make \ + PREFIX=/usr \ + HELPER_BINARIES_DIR=/usr/libexec/podman \ + BUILDTAGS="$BUILDTAGS" \ + podman rootlessport + + make docker-docs + + install -Dm755 bin/podman $PKG/usr/bin/podman + ln -sf podman $PKG/usr/bin/podmansh + install -Dm755 bin/rootlessport $PKG/usr/libexec/podman/rootlessport + + install -d $PKG/etc + touch $PKG/etc/subuid $PKG/etc/subgid + + # man pages + mandir="$PKG/usr/share/man" + for f in docs/build/man/podman*.1 docs/build/man/podmansh.1; do + install -Dm644 "$f" "$mandir/man1/$(basename $f)" + done + for f in docs/build/man/podman-rootless.7 docs/build/man/podman-troubleshooting.7; do + install -Dm644 "$f" "$mandir/man7/$(basename $f)" + done + +} + +signify() { + untrusted comment: public key + RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3 +} + +# vim: filetype=sh |
