diff options
| -rw-r--r-- | app-containers/podman-tui/Manifest | 1 | ||||
| -rw-r--r-- | app-containers/podman-tui/podman-tui-1.9.0.ebuild | 35 |
2 files changed, 36 insertions, 0 deletions
diff --git a/app-containers/podman-tui/Manifest b/app-containers/podman-tui/Manifest index 2cab2920d431..8ef0aef7d694 100644 --- a/app-containers/podman-tui/Manifest +++ b/app-containers/podman-tui/Manifest @@ -1,2 +1,3 @@ DIST podman-tui-1.5.0.tar.gz 20129613 BLAKE2B fb2da2fa77adf7f7b7476144c4e3f4d96829063f1a48cc219f1bd90629744dde53d73a0ceb8adbed385e8acd77d2e5614f932bef902185d5923987e035de4625 SHA512 a67acb15d292692cbe7e1e6e3b55c471a6d3a6ee9e777dcccd9b76bb26906117587b32bb7b6555e87a6079b9154b2355b9ddf00761b25046000578527107fffe DIST podman-tui-1.6.1.tar.gz 20301501 BLAKE2B 8e1f2ce6ee35adc236429703158d4df378b3e17783008d81296c21e033cd2b46389f9f7dd2d2210783525ea84def948fb0932087eba163b03dedc929125ef7f5 SHA512 dc7caf7e19440e0b72a19310ff80be979e103793ebbaf1060455632cffaefea3afb01d4c906b83bca13ce4e399680309c6a5142394b32cf76924af8c3c88ed14 +DIST podman-tui-1.9.0.tar.gz 18771918 BLAKE2B 8d548af6c064b55499077001b417e733fdecbfbbc927c3335efbc53c2725cb2947994c04df47f8aa2327ee932d130f038985fe480968437f7a57da5ad6f99049 SHA512 0fdd4cab2479251fa5f24ed0a1485319c604fdcec19cf83257a6c93bb81174e81d2930717393937998396913e56e553f960e37394d960a16141753bd29f40140 diff --git a/app-containers/podman-tui/podman-tui-1.9.0.ebuild b/app-containers/podman-tui/podman-tui-1.9.0.ebuild new file mode 100644 index 000000000000..68c0131ca6e5 --- /dev/null +++ b/app-containers/podman-tui/podman-tui-1.9.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2025 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" + +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; }' | tr ' ' ',') + ego build -tags "${BUILDTAGS}" +} + +src_install() { + dobin "${PN}" + einstalldocs +} |
