app-text/antixls: EAPI-bump
authorFabian Groffen <grobian@gentoo.org>
Fri, 5 Jan 2018 12:48:46 +0000 (13:48 +0100)
committerFabian Groffen <grobian@gentoo.org>
Fri, 5 Jan 2018 12:52:24 +0000 (13:52 +0100)
Package-Manager: Portage-2.3.13, Repoman-2.3.3

app-text/antixls/antixls-0.3b.ebuild

index a29d5e2b75c711ab97150bd8d2fba0b454b6ed6c..53e29234db59dee0d1a22d6ce6aeea99739f3a42 100644 (file)
@@ -1,6 +1,8 @@
 # Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
+EAPI=6
+
 DESCRIPTION="Print out an XLS file with minimal formatting, or extract the data into CSV"
 HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
 SRC_URI="https://dev.gentoo.org/~grobian/distfiles/${P}.perl"
@@ -9,8 +11,13 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86 ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
 IUSE=""
 DEPEND="dev-perl/Spreadsheet-ParseExcel"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+       mkdir "${S}" || die
+       cp "${DISTDIR}/${P}.perl" "${S}"/${PN} || die
+}
 
 src_install() {
-       mv "${DISTDIR}/${P}.perl" ${PN}
        dobin ${PN}
 }