x11-themes/gartoon: EAPI 5 clean-up.
authorJeroen Roovers <jer@gentoo.org>
Sun, 14 Feb 2016 09:31:54 +0000 (10:31 +0100)
committerJeroen Roovers <jer@gentoo.org>
Sun, 14 Feb 2016 09:31:54 +0000 (10:31 +0100)
Package-Manager: portage-2.2.27

x11-themes/gartoon/gartoon-0.5-r2.ebuild

index 568459a3fba2ed96c82b9b3c2b117b73cc93f3e3..c5c1f860132a91c68b78589b82bdb9e8bcff2ad9 100644 (file)
@@ -2,14 +2,13 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=2
+EAPI=5
 
 DESCRIPTION="Gartoon SVG icon theme"
 HOMEPAGE="https://www.gentoo.org"
 SRC_URI="mirror://gentoo/${P}.tar.gz"
 
 LICENSE="GPL-2"
-IUSE=""
 KEYWORDS="amd64 ~ppc sparc ~x86"
 SLOT="0"
 
@@ -22,8 +21,9 @@ pkg_setup() {
 }
 
 src_prepare() {
-       sed -e "s:\(^pixmap_path\) \(\".*\"$\):\1 \"${mydest}/scalable/stock\":" \
-               -i scalable/stock/iconrc || die "sed failed"
+       sed -i \
+               -e "s:\(^pixmap_path\) \(\".*\"$\):\1 \"${mydest}/scalable/stock\":" \
+               scalable/stock/iconrc || die
 }
 
 src_install() {