app-text/stardict: fix DeprecatedInsinto

Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
Conrad Kostecki
2022-02-13 00:19:38 +01:00
parent 9f29ca641a
commit f97c0e154b
2 changed files with 14 additions and 10 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -115,8 +115,9 @@ src_install() {
dodoc lib/{AUTHORS,ChangeLog,README}
if use examples; then
insinto /usr/share/doc/${PF}/dict
doins dict/doc/stardict-textual-dict*
docinto dict
dodoc dict/doc/stardict-textual-dict*
docompress -x /usr/share/doc/${PF}/dict
fi
if use qqwry; then
@@ -161,8 +162,9 @@ src_install() {
dodoc tools/{AUTHORS,ChangeLog,README}
if use examples; then
insinto /usr/share/doc/${PF}/tools
doins tools/src/{dictbuilder.{example,readme},example.ifo,example_treedict.tar.bz2}
docinto tools
dodoc tools/src/{dictbuilder.{example,readme},example.ifo,example_treedict.tar.bz2}
docompress -x /usr/share/doc/${PF}/tools
fi
fi
}

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -132,8 +132,9 @@ src_install() {
dodoc lib/{AUTHORS,ChangeLog,README}
if use examples; then
insinto /usr/share/doc/${PF}/dict
doins dict/doc/stardict-textual-dict*
docinto dict
dodoc dict/doc/stardict-textual-dict*
docompress -x /usr/share/doc/${PF}/dict
fi
if use qqwry; then
@@ -178,8 +179,9 @@ src_install() {
dodoc tools/{AUTHORS,ChangeLog,README}
if use examples; then
insinto /usr/share/doc/${PF}/tools
doins tools/src/{dictbuilder.{example,readme},example.ifo,example_treedict.tar.bz2}
docinto tools
dodoc tools/src/{dictbuilder.{example,readme},example.ifo,example_treedict.tar.bz2}
docompress -x /usr/share/doc/${PF}/tools
fi
fi
}