- migrated to Exherbo

- added a few initial Pantheon components
This commit is contained in:
Martin Sekera 2018-12-08 23:26:56 +01:00
parent cb6360a7e8
commit 2d2bbbc830
85 changed files with 931 additions and 2 deletions

View file

@ -0,0 +1,51 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="4"
inherit eutils bash-completion-r1
DESCRIPTION="A nice paludis.log parser (patched genlop)"
HOMEPAGE="http://www.genoetigt.de/site/projects/plop"
SRC_URI="mirror://gentoo//genlop-0.30.8.tar.gz -> ${P}.tar.gz"
RESTRICT="nomirror"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=">=dev-lang/perl-5.8.0-r12
>=dev-perl/DateManip-5.40
dev-perl/libwww-perl"
src_unpack() {
unpack ${A}
mv ${WORKDIR}/genlop-0.30.8/ ${S}
}
src_prepare() {
cd "${S}"
mv genlop plop
mv genlop.1 plop.1
epatch "${FILESDIR}/${P}_0.30.8.patch"
}
src_install() {
dobin plop || die "failed to install plop (via dobin)"
dodoc README Changelog
doman plop.1
newbashcomp ${FILESDIR}/plop.bash-completion plop
}
pkg_postinst() {
einfo "Note that plop is just a patched genlop-0.30.8. I only patched the"
einfo "main script. The manpage, README, etc. are all original genlop"
einfo "files, but since plop is expected to work like genlop this"
einfo "shouldn't be a problem. so if you find see genlop somewhere, simply"
einfo "substitute it with plop, as long as it hasn't to do anything with"
einfo "copyright or other credits"
einfo "to convert old emerge.logfiles I've written a small perlscript that"
einfo "you can download on the plop homepage"
}