media-gfx/sane-frontends: Drop eutils.eclass, fix dosym
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>
Wed, 14 Feb 2018 07:46:42 +0000 (08:46 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sun, 18 Feb 2018 17:10:50 +0000 (18:10 +0100)
Bug: https://bugs.gentoo.org/647524
Closes: https://github.com/gentoo/gentoo/pull/7181

media-gfx/sane-frontends/sane-frontends-1.0.14-r1.ebuild

index 26cd1d46586c3e158e7727daa384122bacc5889d..53d1bee2cb08878e3cc8f14d888bd39771da2c59 100644 (file)
@@ -1,10 +1,8 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-inherit eutils
-
 DESCRIPTION="Scanner Access Now Easy"
 HOMEPAGE="http://www.sane-project.org"
 SRC_URI="ftp://ftp.sane-project.org/pub/sane/${P}/${P}.tar.gz
@@ -44,8 +42,8 @@ src_install () {
                        fi
                done
                if [ "/plug-ins" != "${gimpplugindir}" ]; then
-                        dodir ${gimpplugindir}
-                       dosym /usr/bin/xscanimage ${gimpplugindir}/xscanimage
+                       dodir ${gimpplugindir}
+                       dosym xscanimage ${gimpplugindir}/xscanimage
                else
                        ewarn "No idea where to find the gimp plugin directory"
                fi