commit: 63ecdb50ccd27b807584b2c8a2d7a309a29813c1 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> AuthorDate: Tue May 22 18:29:26 2018 +0000 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> CommitDate: Tue May 22 18:29:52 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63ecdb50
app-misc/cadubi: EAPI bump Package-Manager: Portage-2.3.24, Repoman-2.3.6 app-misc/cadubi/cadubi-1.3.ebuild | 15 ++++++--------- app-misc/cadubi/files/cadubi-1.3-helpfile.patch | 4 ++-- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/app-misc/cadubi/cadubi-1.3.ebuild b/app-misc/cadubi/cadubi-1.3.ebuild index bbc15dfa8a7..9e51a1ee8b4 100644 --- a/app-misc/cadubi/cadubi-1.3.ebuild +++ b/app-misc/cadubi/cadubi-1.3.ebuild @@ -1,11 +1,9 @@ # Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=0 +EAPI=6 -inherit eutils multilib - -DESCRIPTION="CADUBI is an application that allows you to draw ASCII-Art images" +DESCRIPTION="An application that allows you to draw ASCII-Art images" HOMEPAGE="http://langworth.com/CadubiProject" SRC_URI="http://langworth.com/downloads/${P}.tar.gz" @@ -17,14 +15,13 @@ IUSE="" DEPEND="dev-lang/perl >=dev-perl/TermReadKey-2.21" -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-helpfile.patch +src_prepare() { + default + eapply "${FILESDIR}"/${P}-helpfile.patch } src_install() { - dobin cadubi || die + dobin cadubi insinto /usr/$(get_libdir)/${PN} doins help.txt dodoc README diff --git a/app-misc/cadubi/files/cadubi-1.3-helpfile.patch b/app-misc/cadubi/files/cadubi-1.3-helpfile.patch index 0d6a2e1fa5c..fd54d5c8bfb 100644 --- a/app-misc/cadubi/files/cadubi-1.3-helpfile.patch +++ b/app-misc/cadubi/files/cadubi-1.3-helpfile.patch @@ -1,5 +1,5 @@ ---- cadubi.orig 2004-03-29 22:36:24.280138064 +0200 -+++ cadubi 2004-03-29 22:39:34.473224320 +0200 +--- a/cadubi.orig 2004-03-29 22:36:24.280138064 +0200 ++++ b/cadubi 2004-03-29 22:39:34.473224320 +0200 @@ -18,7 +18,7 @@ # (sorry guys, i wrote this years before i had the remotest clue as to # what the hell i was doing)