app-text/quarto-bin: update ebuild
This commit is contained in:
@@ -3,13 +3,13 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
PN="quarto"
|
||||
P="${PN}-${PV}"
|
||||
MY_PN="${PN/-bin/}"
|
||||
MY_P="${MY_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}"
|
||||
QUARTO_SRC_BASE_URI="https://github.com/quarto-dev/${MY_PN}-cli/releases/download/v${PV}/${MY_P}"
|
||||
SRC_URI="amd64? ( ${QUARTO_SRC_BASE_URI}-linux-amd64.tar.gz )
|
||||
arm64? ( ${QUARTO_SRC_BASE_URI}-linux-arm64.tar.gz )"
|
||||
|
||||
@@ -23,7 +23,7 @@ RDEPEND="${DEPEND}
|
||||
latex? ( dev-texlive/texlive-xetex )"
|
||||
BDEPEND=""
|
||||
|
||||
S="${WORKDIR}/${P}"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
RESTRICT="strip"
|
||||
|
||||
@@ -32,7 +32,7 @@ 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}"
|
||||
insinto /opt/${MY_PN}
|
||||
cp -R . "${D}/opt/${MY_PN}" || die "Failed to install the package into '/opt/${PN}'"
|
||||
dosym "/opt/${MY_PN}/bin/${MY_PN}" /usr/bin/"${MY_PN}"
|
||||
}
|
||||
Reference in New Issue
Block a user