From f97c0e154ba73f6de2b111e90f8f4e8c0126e317 Mon Sep 17 00:00:00 2001 From: Conrad Kostecki Date: Sun, 13 Feb 2022 00:19:38 +0100 Subject: [PATCH] app-text/stardict: fix DeprecatedInsinto Signed-off-by: Conrad Kostecki --- app-text/stardict/stardict-3.0.6-r4.ebuild | 12 +++++++----- .../stardict/stardict-4.0.0_pre20170304-r1.ebuild | 12 +++++++----- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/app-text/stardict/stardict-3.0.6-r4.ebuild b/app-text/stardict/stardict-3.0.6-r4.ebuild index c41fc396803b5..717768451a5bc 100644 --- a/app-text/stardict/stardict-3.0.6-r4.ebuild +++ b/app-text/stardict/stardict-3.0.6-r4.ebuild @@ -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 } diff --git a/app-text/stardict/stardict-4.0.0_pre20170304-r1.ebuild b/app-text/stardict/stardict-4.0.0_pre20170304-r1.ebuild index a0b09d5647aa3..5f1a969db7bd1 100644 --- a/app-text/stardict/stardict-4.0.0_pre20170304-r1.ebuild +++ b/app-text/stardict/stardict-4.0.0_pre20170304-r1.ebuild @@ -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 }