commit: ff97a5a4b78b7e4b28f0c34a832a9ff4b2f31e77 Author: Harri Nieminen <moikkis <AT> gmail <DOT> com> AuthorDate: Mon Feb 20 16:34:10 2017 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Tue Feb 21 08:13:44 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff97a5a4
x11-misc/xsnap: EAPI bump 5 -> 6 Package-Manager: Portage-2.3.3, Repoman-2.3.1 Closes: https://github.com/gentoo/gentoo/pull/4046 x11-misc/xsnap/{xsnap-1.5.15.ebuild => xsnap-1.5.15-r1.ebuild} | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/x11-misc/xsnap/xsnap-1.5.15.ebuild b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild similarity index 90% rename from x11-misc/xsnap/xsnap-1.5.15.ebuild rename to x11-misc/xsnap/xsnap-1.5.15-r1.ebuild index 3d0c69a1c6..6747829d96 100644 --- a/x11-misc/xsnap/xsnap-1.5.15.ebuild +++ b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 -inherit eutils toolchain-funcs +EAPI=6 +inherit toolchain-funcs DESCRIPTION="Program to interactively take a 'snapshot' of a region of the screen" HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/" @@ -34,9 +34,10 @@ DEPEND=" " DOCS=( AUTHORS Changelog README ) +PATCHES=( "${FILESDIR}"/${P}-root_name.patch ) src_prepare() { - epatch "${FILESDIR}"/${P}-root_name.patch + default sed -i \ -e 's|/usr/share/locale|$(LOCALEDIR)|g' \
