gentoo/app-doc/audacity/audacity-9999.ebuild
Matthew White e04e0ee75e
app-doc/audacity: HTML reference manual for Audacity
Closes: https://bugs.gentoo.org/911561
Package-Manager: portage-3.0.49-r1
Signed-off-by: Matthew White <mehw.is.me@inventati.org>
Closes: https://github.com/gentoo/gentoo/pull/32128
Signed-off-by: Sam James <sam@gentoo.org>
2024-03-23 08:29:09 +00:00

27 lines
696 B
Bash

# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="HTML reference manual for Audacity"
HOMEPAGE="https://www.audacityteam.org/"
if [[ ${PV} = 9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/audacity/audacity-manual.git"
else
KEYWORDS="~amd64"
S="${WORKDIR}/help"
SRC_URI="amd64? ( https://github.com/audacity/audacity-manual/releases/download/v${PV}/audacity-manual-${PV}.tar.gz )"
fi
LICENSE="CC-BY-3.0"
SLOT="0"
src_install() {
docinto html
dodoc -r "${S}"/manual/{m,man}
dodoc "${S}"/manual/{favicon.ico,index.html,quick_help.html}
dosym ../../doc/${PF}/html /usr/share/${PN}/help/manual
}