app-misc/cadubi: EAPI bump
authorMikle Kolyada <zlogene@gentoo.org>
Tue, 22 May 2018 18:29:26 +0000 (21:29 +0300)
committerMikle Kolyada <zlogene@gentoo.org>
Tue, 22 May 2018 18:29:52 +0000 (21:29 +0300)
Package-Manager: Portage-2.3.24, Repoman-2.3.6

app-misc/cadubi/cadubi-1.3.ebuild
app-misc/cadubi/files/cadubi-1.3-helpfile.patch

index bbc15dfa8a7b8d8afdef215af1e1fe3ec34c6dc0..9e51a1ee8b47515031037e6b341d5a4d7866af04 100644 (file)
@@ -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
index 0d6a2e1fa5c9a322965154ad31716cd48b024a93..fd54d5c8bfb10ce0eb70dd7230d585ed79709a4c 100644 (file)
@@ -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)