summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Väth <martin@mvath.de>2015-11-20 22:58:10 +0100
committerMartin Väth <martin@mvath.de>2015-11-20 22:58:10 +0100
commit54e1638047d8f3c28d9824ea8141bc201a4ac98b (patch)
tree7ad61db574e9209732242a31b324d1df567021ea /sys-apps/less/less-481.ebuild
parentapp-arch/archwrap: Version bump (diff)
downloadmv-54e1638047d8f3c28d9824ea8141bc201a4ac98b.tar.gz
mv-54e1638047d8f3c28d9824ea8141bc201a4ac98b.tar.bz2
mv-54e1638047d8f3c28d9824ea8141bc201a4ac98b.zip
Bump to EAPI=6
Diffstat (limited to 'sys-apps/less/less-481.ebuild')
-rw-r--r--sys-apps/less/less-481.ebuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/sys-apps/less/less-481.ebuild b/sys-apps/less/less-481.ebuild
index ddbb26ff..016751e2 100644
--- a/sys-apps/less/less-481.ebuild
+++ b/sys-apps/less/less-481.ebuild
@@ -2,9 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
-
-inherit eutils
+EAPI=6
CODE2COLOR_PV="0.2"
CODE2COLOR_P="code2color-${CODE2COLOR_PV}"
@@ -50,14 +48,14 @@ src_unpack() {
src_prepare() {
if use less-select
- then epatch "${SELECTDIR}/patches/less-${PATCHVER}-select.patch" || die
+ then eapply "${SELECTDIR}/patches/less-${PATCHVER}-select.patch"
"${SELECTDIR}"/after-patch || die "${SELECTDIR}/after-patch failed"
sed -i -e 's|\([^a-zA-Z]\)/etc/less-select-key.bin|\1'"${EPREFIX}"'/etc/less/select-key.bin|g' \
"${SELECTDIR}/bin/less-select" || die
fi
- epatch "${FILESDIR}/${CODE2COLOR_P}.patch"
+ eapply -p0 "${FILESDIR}/${CODE2COLOR_P}.patch"
chmod a+x configure || die
- epatch_user
+ eapply_user
}
src_configure() {