diff options
author | Amy Liffey <amynka@gentoo.org> | 2017-08-14 11:25:11 +0200 |
---|---|---|
committer | Amy Liffey <amynka@gentoo.org> | 2017-08-14 12:56:18 +0200 |
commit | fb2b8d9c7b167eda153b682e09f0e703cb7119e4 (patch) | |
tree | c84bd4aa31a6b0e902f2e4b346f2844cc31ae6ec /net-irc | |
parent | sys-kernel/git-sources: Linux patch 4.13-rc5 (diff) | |
download | gentoo-fb2b8d9c7b167eda153b682e09f0e703cb7119e4.tar.gz gentoo-fb2b8d9c7b167eda153b682e09f0e703cb7119e4.tar.bz2 gentoo-fb2b8d9c7b167eda153b682e09f0e703cb7119e4.zip |
net-irc/onis: EAPI 6 bump
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'net-irc')
-rw-r--r-- | net-irc/onis/files/0.6.0-nochdir.patch | 4 | ||||
-rw-r--r-- | net-irc/onis/onis-0.8.2-r1.ebuild | 46 |
2 files changed, 48 insertions, 2 deletions
diff --git a/net-irc/onis/files/0.6.0-nochdir.patch b/net-irc/onis/files/0.6.0-nochdir.patch index 06bd40a001ab..17f26973a8af 100644 --- a/net-irc/onis/files/0.6.0-nochdir.patch +++ b/net-irc/onis/files/0.6.0-nochdir.patch @@ -1,5 +1,5 @@ ---- onis.orig 2004-03-15 00:48:07.874308008 +0100 -+++ onis 2004-03-15 00:48:17.110903832 +0100 +--- a/onis 2004-03-15 00:48:07.874308008 +0100 ++++ b/onis 2004-03-15 00:48:17.110903832 +0100 @@ -15,8 +15,6 @@ BEGIN diff --git a/net-irc/onis/onis-0.8.2-r1.ebuild b/net-irc/onis/onis-0.8.2-r1.ebuild new file mode 100644 index 000000000000..9e2b93169c40 --- /dev/null +++ b/net-irc/onis/onis-0.8.2-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils + +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" +IUSE="" + +RDEPEND="dev-lang/perl" +DEPEND="${RDEPEND} + >=sys-apps/sed-4" + +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 +} |