diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-07 21:14:14 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-07 21:14:14 +0000 |
commit | 6d44cd74809cea5f81bf52ff9cd0aa902d6b6866 (patch) | |
tree | 4045142b80c7e0479c627a84e3f0de03e574df19 /net-irc/onis/onis-0.8.2-r2.ebuild | |
parent | 8615c518b1f1d03130f21656a1a026959bb1e9c9 (diff) |
gentoo auto-resync : 07:12:2022 - 21:14:14
Diffstat (limited to 'net-irc/onis/onis-0.8.2-r2.ebuild')
-rw-r--r-- | net-irc/onis/onis-0.8.2-r2.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
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 +} |