You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
696 B
27 lines
696 B
2 months ago
|
# 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
|
||
|
}
|