sci-libs/libgeodecomp: tidy ebuild for 0.5
authorJoonas Niilola <juippis@gentoo.org>
Tue, 21 Apr 2020 12:33:05 +0000 (15:33 +0300)
committerJoonas Niilola <juippis@gentoo.org>
Tue, 21 Apr 2020 12:44:49 +0000 (15:44 +0300)
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
sci-libs/libgeodecomp/libgeodecomp-0.5.0_pre20200420.ebuild

index 17e4963ccb8b33b81002853e28b9977768559b17..d269428d5cd158f3260e49dea7df7b0471aec7b8 100644 (file)
@@ -23,7 +23,7 @@ BDEPEND="
                app-doc/doxygen
                app-text/texlive
                media-gfx/graphviz
-               )"
+       )"
 RDEPEND="dev-libs/boost"
 DEPEND="${RDEPEND}
        ~dev-libs/libflatarray-0.4.0_pre20200314
@@ -44,6 +44,8 @@ S="${WORKDIR}/libgeodecomp-${MY_COMMIT}"
 
 PATCHES=( "${FILESDIR}/${P}-mpi.patch" )
 
+DOCS=( README )
+
 src_prepare() {
        cmake_src_prepare
        use cuda && cuda_src_prepare
@@ -71,8 +73,7 @@ src_compile() {
 }
 
 src_install() {
-       DOCS=( README )
-       use doc && HTML_DOCS=( doc/html/* )
+       use doc && local HTML_DOCS=( doc/html/* )
        cmake_src_install
 }