diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-11-14 04:26:46 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-11-14 04:26:46 +0000 |
commit | 62ce4dfbf01c603a668dabde87ccc5b4ca4069af (patch) | |
tree | 7b3cda13b94b1830f816c9e0e0d728d4af37d1d4 /app-containers/podman-tui/podman-tui-0.12.0.ebuild | |
parent | 48b1a38e1711d2eec2733c3cd4b1b8ae49fbc47a (diff) |
gentoo auto-resync : 14:11:2023 - 04:26:45
Diffstat (limited to 'app-containers/podman-tui/podman-tui-0.12.0.ebuild')
-rw-r--r-- | app-containers/podman-tui/podman-tui-0.12.0.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/app-containers/podman-tui/podman-tui-0.12.0.ebuild b/app-containers/podman-tui/podman-tui-0.12.0.ebuild new file mode 100644 index 000000000000..2effb9e6c06b --- /dev/null +++ b/app-containers/podman-tui/podman-tui-0.12.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module +DESCRIPTION="Terminal UI frontend for Podman" +HOMEPAGE="https://github.com/containers/podman-tui" + +if [[ ${PV} == 9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/containers/podman-tui.git" +else + SRC_URI="https://github.com/containers/podman-tui/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +# main pkg +LICENSE="Apache-2.0" +# deps +LICENSE+=" BSD-2 BSD MIT MPL-2.0" +SLOT="0" +RESTRICT="test" +RDEPEND=" + >=app-containers/podman-4.0.2 +" + +src_compile() { + # parse tags from Makefile & make them comma-seperated as space-seperated list is deprecated + local BUILDTAGS=$(grep 'BUILDTAGS :=' Makefile | awk -F\" '{ print $2; }' | sed -e 's| |,|g;') + ego build -tags "${BUILDTAGS}" +} + +src_install() { + dobin "${PN}" + einstalldocs +} |