app-text/quarto-bin: new package

This commit is contained in:
2025-06-12 14:16:09 +03:00
parent a86317974d
commit dad620f6d0
2 changed files with 40 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PN="quarto"
P="${PN}-${PV}"
DESCRIPTION="Open-source scientific and technical publishing system built on Pandoc"
HOMEPAGE="http://quarto.org https://github.com/quarto-dev/quarto-cli"
QUARTO_SRC_BASE_URI="https://github.com/quarto-dev/${PN}-cli/releases/download/v${PV}/${P}"
SRC_URI="amd64? ( ${QUARTO_SRC_BASE_URI}-linux-amd64.tar.gz )
arm64? ( ${QUARTO_SRC_BASE_URI}-linux-arm64.tar.gz )"
KEYWORDS="-* amd64 arm64"
IUSE="latex"
LICENSE="MIT"
SLOT="0"
DEPEND=""
RDEPEND="${DEPEND}
latex? ( dev-texlive/texlive-xetex )"
BDEPEND=""
S="${WORKDIR}/${P}"
RESTRICT="strip"
src_compile() {
:
}
src_install() {
insinto /opt/${PN}
doins -r . || die "Failed to install the package into '/opt/${PN}'"
dosym "/opt/${PN}/bin/${PN}" /usr/bin/"${PN}"
}