summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2018-05-22 21:29:26 +0300
committerMikle Kolyada <zlogene@gentoo.org>2018-05-22 21:29:52 +0300
commit63ecdb50ccd27b807584b2c8a2d7a309a29813c1 (patch)
tree4c2717dc0c95e8439d011c1cb98d76697993ce74 /app-misc
parentapp-i18n/*fcitx*: Delete old versions. (diff)
downloadgentoo-63ecdb50ccd27b807584b2c8a2d7a309a29813c1.tar.gz
gentoo-63ecdb50ccd27b807584b2c8a2d7a309a29813c1.tar.bz2
gentoo-63ecdb50ccd27b807584b2c8a2d7a309a29813c1.zip
app-misc/cadubi: EAPI bump
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/cadubi/cadubi-1.3.ebuild15
-rw-r--r--app-misc/cadubi/files/cadubi-1.3-helpfile.patch4
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)