# Template file for 'podman' pkgname=podman version=2.0.2 revision=1 build_style=go go_import_path="github.com/containers/libpod/v2" go_package="${go_import_path}/cmd/podman" go_build_tags="seccomp apparmor containers_image_ostree_stub btrfs_noversion exclude_graphdriver_btrfs" hostmakedepends="pkg-config go-md2man" makedepends="gpgme-devel libseccomp-devel device-mapper-devel" depends="runc conmon cni-plugins slirp4netns containers.image" short_desc="Simple management tool for containers and images" maintainer="Cameron Nemo " license="Apache-2.0" homepage="https://podman.io/" distfiles="https://github.com/containers/libpod/archive/v${version}.tar.gz" checksum=5fee5873e00ecbbf8c47d5519d0f138e5a322716d8d2306f4e45ab71f0a079c6 if [ "$CROSS_BUILD" ]; then go_build_tags+=" containers_image_openpgp" fi post_install() { make install.man DESTDIR="${DESTDIR}" PREFIX="/usr" make install.cni DESTDIR="${DESTDIR}" make install.completions DESTDIR="${DESTDIR}" PREFIX="/usr" sed -e 's|# cgroup_manager = "systemd"|cgroup_manager = "cgroupfs"|g' \ vendor/github.com/containers/common/pkg/config/containers.conf \ >containers.cgfs.conf vinstall containers.cgfs.conf 644 usr/share/containers containers.conf }