From b6c75e423eeb2eb1686791296e1dde3752f6c813 Mon Sep 17 00:00:00 2001 From: Cameron Nemo Date: Sun, 9 Dec 2018 21:12:33 -0800 Subject: [PATCH] New package: podman-1.0.0 --- srcpkgs/podman/template | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 srcpkgs/podman/template diff --git a/srcpkgs/podman/template b/srcpkgs/podman/template new file mode 100644 index 00000000000..4e7c87247ec --- /dev/null +++ b/srcpkgs/podman/template @@ -0,0 +1,31 @@ +# Template file for 'podman' +pkgname=podman +version=1.0.0 +revision=1 +wrksrc="libpod-${version}" +build_style=go +go_import_path="github.com/containers/libpod" +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 cri-o cni-plugins skopeo buildah" +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=f7a462563dd587208eff3c3c0689bc4d01071a8f7933bec2a13126be123f63a8 + +if [ "$CROSS_BUILD" ]; then + go_build_tags+=" containers_image_openpgp exclude_graphdriver_overlay" +fi + +post_install() { + make install.man PREFIX="${DESTDIR}/usr" DESTDIR="${DESTDIR}" + make install.cni DESTDIR="${DESTDIR}" + vinstall completions/bash/podman 644 usr/share/bash-completion/completions + sed 's|cgroup_manager = "systemd"|cgroup_manager = "cgroupfs"|g' libpod.conf >libpod.cgfs.conf + vinstall libpod.cgfs.conf 644 usr/share/containers libpod.conf +}