diff options
-rw-r--r-- | app-misc/cadubi/cadubi-1.3.ebuild | 15 | ||||
-rw-r--r-- | 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 bbc15dfa8a7b..9e51a1ee8b47 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 0d6a2e1fa5c9..fd54d5c8bfb1 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) |