[RFC] splitting documentation
Marco Atzeri
marco.atzeri@gmail.com
Thu May 19 21:35:00 GMT 2016
To move the documentation in a noarch package
I split lilypond in two source packages.
http://matzeri.altervista.org/noarch/lilypond-doc/
http://matzeri.altervista.org/x86/lilypond/
http://matzeri.altervista.org/x86_64/lilypond/
The documentation is just a copy of the upstream PDF so :
- the source package is a dummy to avoid data duplication
- the install phase phase grab the files from upstream an put in
the proper directory.
Question:
- How to properly replace the old layout with the
new in upload ?
I expect that "calm" could complain about:
x86/release/lilypond/lilypond-doc/lilypond-doc-2.19.37-1.tar.xz
noarch/release/lilypond-doc/lilypond-doc-2.19.42-1.tar.xz
Should I move both as :
noarch/release/lilypond-doc/lilypond-doc-2.19.37-1.tar.xz
noarch/release/lilypond-doc/lilypond-doc-2.19.42-1.tar.xz
Regards
Marco
-------------- next part --------------
# lilypond.cygport
NAME="lilypond-doc"
VERSION=2.19.42
RELEASE=1
ARCH="noarch"
SUMMARY="A typesetting system for music notation (Documentation)"
DESCRIPTION="LilyPond is an automated music engraving system. It formats music beautifully and automatically, and has a friendly syntax for its input files."
CATEGORY="Interpreters"
MAJOR_VERSION="$(echo ${VERSION} | cut -d '.' -f 1)"
MINOR_VERSION="$(echo ${VERSION} | cut -d '.' -f 2)"
# PATCH_URI=""
HOMEPAGE="http://www.lilypond.org/"
SRC_URI="empty.tar.xz"
SRC_DIR="empty"
PKG_NAMES="lilypond-doc"
RESTRICT="diff"
# The main 'lilypond' package contains everything except the PDF
# documentation.
# The 'lilypond-doc' package.
lilypond_doc_CONTENTS="usr/share/doc/lilypond/pdf"
lilypond_doc_SUMMARY="Documentation for LilyPond."
lilypond_doc_DESCRIPTION="${DESCRIPTION} This package contains the documentation for LilyPond."
lilypond_doc_CATEGORY="Doc"
src_compile() {
:
}
src_install() {
dodir /usr/share/doc/lilypond/pdf
cd ${D}/usr/share/doc/lilypond/pdf
wget http://lilypond.org/doc/v2.19/Documentation/learning.pdf
wget http://lilypond.org/doc/v2.19/Documentation/music-glossary.pdf
wget http://lilypond.org/doc/v2.19/Documentation/essay.pdf
wget http://lilypond.org/doc/v2.19/Documentation/usage.pdf
}
src_test() {
:
}
More information about the Cygwin-apps
mailing list