commit:     22c9999c3d1ec853efe1dd3444421ae886085b70
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 13 00:09:57 2022 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Feb 13 21:07:26 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22c9999c

sci-libs/clblast: fix DeprecatedInsinto

Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 sci-libs/clblast/clblast-0.10.0.ebuild | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sci-libs/clblast/clblast-0.10.0.ebuild 
b/sci-libs/clblast/clblast-0.10.0.ebuild
index d3ef4a3ebb03..70341627123f 100644
--- a/sci-libs/clblast/clblast-0.10.0.ebuild
+++ b/sci-libs/clblast/clblast-0.10.0.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
@@ -10,6 +10,7 @@ MYPN="CLBlast"
 DESCRIPTION="Tuned OpenCL BLAS"
 HOMEPAGE="https://github.com/CNugteren/CLBlast";
 SRC_URI="https://github.com/CNugteren/${MYPN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+S="${WORKDIR}/${MYPN}-${PV}"
 
 LICENSE="Apache-2.0"
 SLOT="0"
@@ -24,7 +25,6 @@ DEPEND="${RDEPEND}
          virtual/pkgconfig
        )
 "
-S="${WORKDIR}/${MYPN}-${PV}"
 
 src_prepare() {
        # no forced optimisation, libdir
@@ -61,8 +61,8 @@ src_install() {
        dodoc README.md CONTRIBUTING.md CHANGELOG
        use doc && dodoc -r doc
        if use examples; then
-               insinto /usr/share/doc/${PF}/examples
-               doins -r samples/*
+               docinto examples
+               dodoc -r samples/.
                docompress -x /usr/share/doc/${PF}/examples
        fi
 }

Reply via email to