summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/renameutils')
-rw-r--r--sys-apps/renameutils/renameutils-0.12.0.ebuild18
1 files changed, 11 insertions, 7 deletions
diff --git a/sys-apps/renameutils/renameutils-0.12.0.ebuild b/sys-apps/renameutils/renameutils-0.12.0.ebuild
index 95b7981085a..7d0f5dfb332 100644
--- a/sys-apps/renameutils/renameutils-0.12.0.ebuild
+++ b/sys-apps/renameutils/renameutils-0.12.0.ebuild
@@ -1,25 +1,29 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="4"
+EAPI=7
-inherit autotools eutils
+inherit autotools
DESCRIPTION="Use your favorite text editor to rename files"
HOMEPAGE="http://www.nongnu.org/renameutils/"
SRC_URI="https://savannah.nongnu.org/download/renameutils/${P}.tar.gz"
+
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE="nls"
-DEPEND=">=sys-libs/readline-5.0-r2"
+DEPEND="sys-libs/readline:="
RDEPEND="${DEPEND}"
+PATCHES=(
+ "${FILESDIR}"/${P}-typo.patch
+ "${FILESDIR}"/${P}-autopoint.patch
+)
+
src_prepare() {
- epatch \
- "${FILESDIR}/${P}-typo.patch" \
- "${FILESDIR}/${P}-autopoint.patch"
+ default
eautoreconf
}