media-gfx/xsane: fix AbsoluteSymlink

I don't see an easy way (right now) to figure out
how deep the GIMP path will be, so let's do this instead.

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2020-11-08 12:50:13 +00:00
parent c450528f57
commit d4e24ca4e1

View File

@@ -83,7 +83,7 @@ src_install() {
die "Can't find GIMP plugin directory."
fi
dodir "${plugindir#${EPREFIX}}"
dosym /usr/bin/xsane "${plugindir#${EPREFIX}}"/xsane
dosym "${EPREFIX}/usr/bin/xsane" "${plugindir#${EPREFIX}}"/xsane
fi
newicon "${DISTDIR}/${PN}-256x256.png" "${PN}".png