diff options
author | Michał Górny <mgorny@gentoo.org> | 2018-02-14 13:54:13 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-02-14 14:34:49 +0100 |
commit | b2a004ccadfd522ac7ad085a20099c701ed7348d (patch) | |
tree | b5fd552baee6fa62501247653006805cb690224a /dev-libs | |
parent | dev-libs/keybinder: Bump to 0.3.2 (3.0 branch only) (diff) | |
download | gentoo-b2a004ccadfd522ac7ad085a20099c701ed7348d.tar.gz gentoo-b2a004ccadfd522ac7ad085a20099c701ed7348d.tar.bz2 gentoo-b2a004ccadfd522ac7ad085a20099c701ed7348d.zip |
dev-libs/keybinder: Fix gtk-doc install location
Closes: https://bugs.gentoo.org/570972
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/keybinder/keybinder-0.3.2-r300.ebuild | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/dev-libs/keybinder/keybinder-0.3.2-r300.ebuild b/dev-libs/keybinder/keybinder-0.3.2-r300.ebuild index a62c8c1c0c78..d12fc21e838b 100644 --- a/dev-libs/keybinder/keybinder-0.3.2-r300.ebuild +++ b/dev-libs/keybinder/keybinder-0.3.2-r300.ebuild @@ -29,12 +29,18 @@ S=${WORKDIR}/${MY_P} src_configure() { econf \ - $(use_enable introspection) \ - --with-html-dir="${EPREFIX}/usr/share/doc/${PF}/html" + $(use_enable introspection) } src_install() { default prune_libtool_files --all - dosym /usr/share/doc/${PF}/html/${PN}-3.0 /usr/share/gtk-doc/html/${PN}-3.0 +} + +pkg_preinst() { + # remove old symlink as otherwise the files will be installed + # in the wrong directory + if [[ -h ${EROOT%/}/usr/share/gtk-doc/html/keybinder-3.0 ]]; then + rm "${EROOT%/}/usr/share/gtk-doc/html/keybinder-3.0" || die + fi } |