mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-26 07:28:10 -07:00
Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru> Closes: https://github.com/gentoo/gentoo/pull/36406 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
24 lines
796 B
Bash
24 lines
796 B
Bash
# Copyright 1999-2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit desktop xdg
|
|
|
|
DESCRIPTION="Documentation API reference for Cantera package libraries"
|
|
HOMEPAGE="https://cantera.org"
|
|
SRC_URI="https://github.com/band-a-prend/gentoo-overlay/releases/download/ct-docs-${PV}/${P}_modified_menu.tar.xz -> ${P}.tar.xz"
|
|
S="${WORKDIR}/"
|
|
|
|
LICENSE="BSD"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ~riscv ~x86"
|
|
|
|
src_install() {
|
|
insinto /usr/share/cantera/doc/
|
|
doins -r "${S}/."
|
|
|
|
make_desktop_entry "/usr/bin/xdg-open /usr/share/cantera/doc/doxygen/html/index.html" "Cantera Doxygen Documentation" "text-html" "Development"
|
|
make_desktop_entry "/usr/bin/xdg-open /usr/share/cantera/doc/sphinx/html/index.html" "Cantera Sphinx Documentation" "text-html" "Development"
|
|
}
|