# 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() { : }