summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@proton.me>2023-09-10 17:39:31 -0600
committerSam James <sam@gentoo.org>2023-09-13 04:48:03 +0100
commitcf9b5b6cbf1cdc32943d53ccf96caeb41726474c (patch)
treeec596f09e731d60a4374504c720d96dae0605860
parentapp-admin/go-updater: update EAPI 6 -> 8 (diff)
downloadgentoo-cf9b5b6cbf1cdc32943d53ccf96caeb41726474c.tar.gz
gentoo-cf9b5b6cbf1cdc32943d53ccf96caeb41726474c.tar.bz2
gentoo-cf9b5b6cbf1cdc32943d53ccf96caeb41726474c.zip
app-admin/gentoo-perl-helpers: update EAPI 6 -> 8
Signed-off-by: Leonardo Hernández Hernández <leohdz172@proton.me> Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--app-admin/gentoo-perl-helpers/gentoo-perl-helpers-0.4.0-r1.ebuild53
1 files changed, 53 insertions, 0 deletions
diff --git a/app-admin/gentoo-perl-helpers/gentoo-perl-helpers-0.4.0-r1.ebuild b/app-admin/gentoo-perl-helpers/gentoo-perl-helpers-0.4.0-r1.ebuild
new file mode 100644
index 000000000000..87e71a5c3fe0
--- /dev/null
+++ b/app-admin/gentoo-perl-helpers/gentoo-perl-helpers-0.4.0-r1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Introspection and Upgrade Assistance tools for Gentoo Perl"
+HOMEPAGE="https://github.com/gentoo-perl/gentoo-perl-helpers"
+SRC_URI="
+ https://github.com/gentoo-perl/${PN}/releases/download/${PV}/${P}.tar.xz
+ mirror://gentoo/${P}.tar.xz
+ https://dev.gentoo.org/~kentnl/distfiles/${P}.tar.xz
+"
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+
+# Assumed System:
+# sys-apps/coreutils
+# sys-apps/grep
+# sys-apps/sed
+# app-shells/bash
+# sys-apps/gawk
+# app-arch/tar
+
+# multiple --quiet, --format and anti-slot support)
+RDEPEND="
+ >=app-portage/portage-utils-0.80_pre20190620
+"
+BDEPEND="app-arch/xz-utils[extra-filters]"
+
+src_prepare() {
+ sed -i -e "s^@@LIBDIR@@^${EPREFIX}/usr/lib/gentoo-perl-helpers^g" \
+ -e "s^@@LIBEXECDIR@@^${EPREFIX}/usr/libexec/gentoo-perl-helpers^g" \
+ "${S}/bin/gentoo-perl" \
+ "${S}/lib/core-functions.sh" \
+ || die "Can't patch bin/gentoo-perl"
+ default
+}
+
+src_compile() { :; }
+
+src_install() {
+ exeinto /usr/bin
+ doexe "${S}/bin/"*
+
+ exeinto /usr/libexec/gentoo-perl-helpers
+ doexe "${S}/libexec/"*
+
+ insinto /usr/lib/gentoo-perl-helpers
+ doins -r "${S}/lib/"*
+
+ dodoc "${S}/README.mkdn" "${S}/Changes"
+}