diff options
author | Kent Fredric <kentnl@gentoo.org> | 2019-06-22 23:00:55 +1200 |
---|---|---|
committer | Kent Fredric <kentnl@gentoo.org> | 2019-06-23 18:41:38 +1200 |
commit | e4d7ceb22b26f9f684af9e8d60bc1ffb7ddea5a6 (patch) | |
tree | 95d3519c94b96be18be840b783eb96a624db711d /app-admin/gentoo-perl-helpers/gentoo-perl-helpers-0.4.0.ebuild | |
parent | xfce-extra/xfce4-cpugraph-plugin: Bump to 1.0.91 (diff) | |
download | gentoo-e4d7ceb22b26f9f684af9e8d60bc1ffb7ddea5a6.tar.gz gentoo-e4d7ceb22b26f9f684af9e8d60bc1ffb7ddea5a6.tar.bz2 gentoo-e4d7ceb22b26f9f684af9e8d60bc1ffb7ddea5a6.zip |
app-admin/gentoo-perl-helpers: Bump to version 0.4.0 re bug #683432
Reworked to make use of recent changes in portage-utils
Bug: https://bugs.gentoo.org/683432
Bug: https://bugs.gentoo.org/688442
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Kent Fredric <kentnl@gentoo.org>
Diffstat (limited to 'app-admin/gentoo-perl-helpers/gentoo-perl-helpers-0.4.0.ebuild')
-rw-r--r-- | app-admin/gentoo-perl-helpers/gentoo-perl-helpers-0.4.0.ebuild | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/app-admin/gentoo-perl-helpers/gentoo-perl-helpers-0.4.0.ebuild b/app-admin/gentoo-perl-helpers/gentoo-perl-helpers-0.4.0.ebuild new file mode 100644 index 000000000000..3e95a58b7d77 --- /dev/null +++ b/app-admin/gentoo-perl-helpers/gentoo-perl-helpers-0.4.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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 ~arm64 ~x86" +IUSE="" + +# Assumed System: +# sys-apps/coreutils +# sys-apps/grep +# sys-apps/findutils +# sys-apps/sed +# app-shells/bash +# sys-apps/gawk +# app-arch/tar + +RDEPEND=" + $(: multiple --quiet, --format and anti-slot support) + >=app-portage/portage-utils-0.80_pre20190620 +" +DEPEND="" + +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" +} |