From aa016890dab286915b37052eb5b880ae98b007f2 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Wed, 7 Dec 2022 20:24:33 +0100 Subject: net-irc/onis: update EAPI 6 -> 8 Signed-off-by: David Seifert --- net-irc/onis/onis-0.8.2-r1.ebuild | 43 --------------------------------------- net-irc/onis/onis-0.8.2-r2.ebuild | 43 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+), 43 deletions(-) delete mode 100644 net-irc/onis/onis-0.8.2-r1.ebuild create mode 100644 net-irc/onis/onis-0.8.2-r2.ebuild (limited to 'net-irc') diff --git a/net-irc/onis/onis-0.8.2-r1.ebuild b/net-irc/onis/onis-0.8.2-r1.ebuild deleted file mode 100644 index f3a692d97e61..000000000000 --- a/net-irc/onis/onis-0.8.2-r1.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -DESCRIPTION="onis not irc stats" -HOMEPAGE="http://verplant.org/onis/" -SRC_URI="http://verplant.org/${PN}/${P}.tar.bz2" - -LICENSE="LGPL-2" -SLOT="0" -KEYWORDS="amd64 ~ppc x86" - -RDEPEND="dev-lang/perl" -DEPEND="${RDEPEND}" - -PATCHES=( "${FILESDIR}/0.6.0-nochdir.patch" ) - -src_prepare() { - default - sed -i -e s:lang/:/usr/share/onis/lang/: onis.conf || die "sed failed" -} - -src_install() { - eval $(perl -V:installprivlib) - - dobin onis - - insinto "${installprivlib}" - doins -r lib/Onis - - insinto /usr/share/onis - doins -r lang reports/* - - dodoc CHANGELOG README THANKS onis.conf users.conf -} - -pkg_postinst() { - elog - elog "The onis themes have been installed in /usr/share/onis/*-theme" - elog "You can find a compressed sample configuration at /usr/share/doc/${PF}/config" - elog -} diff --git a/net-irc/onis/onis-0.8.2-r2.ebuild b/net-irc/onis/onis-0.8.2-r2.ebuild new file mode 100644 index 000000000000..116e9a2b9432 --- /dev/null +++ b/net-irc/onis/onis-0.8.2-r2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit perl-functions + +DESCRIPTION="onis not irc stats" +HOMEPAGE="http://verplant.org/onis/" +SRC_URI="http://verplant.org/${PN}/${P}.tar.bz2" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc x86" + +RDEPEND="dev-lang/perl" +BDEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}"/0.6.0-nochdir.patch ) + +src_prepare() { + default + sed -i -e s:lang/:/usr/share/onis/lang/: onis.conf || die "sed failed" +} + +src_install() { + dobin onis + + perl_domodule -r lib/Onis + + insinto /usr/share/onis + doins -r lang reports/. + + einstalldocs + dodoc onis.conf users.conf +} + +pkg_postinst() { + elog + elog "The onis themes have been installed in /usr/share/onis/*-theme" + elog "You can find a compressed sample configuration at /usr/share/doc/${PF}/config" + elog +} -- cgit v1.2.3-18-g5258