userguide & welcome: New recipes.

This commit is contained in:
Augustin Cavalier
2022-10-25 16:04:59 -04:00
parent b0b916c93b
commit d2bcbbafb1
2 changed files with 109 additions and 0 deletions

View File

@@ -0,0 +1,74 @@
SUMMARY="The Haiku user documentation"
DESCRIPTION="The Haiku User Guide describes the Haiku operating system \
from a user's perspective. \
It's recommended reading for people that are new to the system as well as the \
seasoned Haiku or former BeOS user. It describes the fundamentals of the \
graphical user interface as well as the special features that are unique to \
the BeOS/Haiku system. All included applications and preferences are \
described in detail and tips and little workshops help to work most \
efficiently under Haiku."
HOMEPAGE="https://www.haiku-os.org/"
COPYRIGHT="2001-2022 Haiku, Inc. et al"
LICENSE="MIT"
REVISION="1"
srcGitRev="09642d0c495d50ac54783593b943074d3a0e1667"
SOURCE_URI="https://github.com/haiku/userguide/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="430094faf5a6d0b6bf6b97e770e860eeb7b42432a416db90bfc86f699e5d2c44"
SOURCE_DIR="userguide-$srcGitRev"
ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE="yes"
PROVIDES="
haiku_userguide = $portVersion
"
BUILD_PREREQUIRES="
"
LANGUAGES=(ca de en es eo fi fr fur hu id it jp pl pt_BR pt_PT ro ru sk sv_SE tr uk zh_CN)
for i in "${!LANGUAGES[@]}"; do
language=${LANGUAGES[i]}
languageLower=$(echo "${language}" | tr '[:upper:]' '[:lower:]')
eval "PROVIDES_${languageLower}=\"\
${portName}_$languageLower = $portVersion\n\
\"; \
REQUIRES_${languageLower}=\"\
haiku_userguide == $portVersion base\
\""
done
SUMMARY_ca="The Haiku user documentation (Catalan translation)"
SUMMARY_de="Das Haiku Benutzerhandbuch auf Deutsch"
SUMMARY_es="The Haiku user documentation (Spanish translation)"
SUMMARY_eo="The Haiku user documentation (Esperanto translation)"
SUMMARY_fi="The Haiku user documentation (Finnish translation)"
SUMMARY_fr="The Haiku user documentation (French translation)"
SUMMARY_fur="The Haiku user documentation (Friulian translation)"
SUMMARY_hu="The Haiku user documentation (Hungarian translation)"
SUMMARY_id="The Haiku user documentation (Indonesian translation)"
SUMMARY_it="The Haiku user documentation (Italian translation)"
SUMMARY_jp="The Haiku user documentation (Japanese translation)"
SUMMARY_pl="The Haiku user documentation (Polish translation)"
SUMMARY_pt_br="The Haiku user documentation (Brazilian translation)"
SUMMARY_pt_pt="The Haiku user documentation (Portuguese translation)"
SUMMARY_ro="The Haiku user documentation (Romanian translation)"
SUMMARY_ru="The Haiku user documentation (Russian translation)"
SUMMARY_sk="The Haiku user documentation (Slovak translation)"
SUMMARY_sv_se="The Haiku user documentation (Swedish translation)"
SUMMARY_tr="The Haiku user documentation (Turkish translation)"
SUMMARY_uk="The Haiku user documentation (Ukrainian translation)"
SUMMARY_zh_cn="The Haiku user documentation (Chinese translation)"
INSTALL()
{
docsDir=$prefix/documentation
mkdir -p $docsDir
cp -R userguide $docsDir
for i in "${!LANGUAGES[@]}"; do
language=${LANGUAGES[i]}
languageLower=$(echo "${language}" | tr '[:upper:]' '[:lower:]')
packageEntries $languageLower $docsDir/userguide/$language
done
}

View File

@@ -0,0 +1,35 @@
SUMMARY="The Haiku welcome documentation"
DESCRIPTION="The Haiku welcome documentation was put together especially \
for new users. It provides information on how to report bugs and answers the \
most pressing questions like how to find and install software, how to get in \
contact and where to find more resources for programmers and endusers online.
A quick tour of the system shows many of Haiku's distinguishing (and at times \
not obvious) features.
This package includes several translations of the welcome documentation.
Thanks to everyone who contributed."
HOMEPAGE="https://www.haiku-os.org/"
COPYRIGHT="2001-2022 Haiku, Inc. et al"
LICENSE="MIT"
REVISION="1"
srcGitRev="09642d0c495d50ac54783593b943074d3a0e1667"
SOURCE_URI="https://github.com/haiku/userguide/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="430094faf5a6d0b6bf6b97e770e860eeb7b42432a416db90bfc86f699e5d2c44"
SOURCE_DIR="userguide-$srcGitRev"
ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE="yes"
PROVIDES="
haiku_welcome = $portVersion
"
BUILD_PREREQUIRES="
"
INSTALL()
{
docsDir=$prefix/documentation
mkdir -p $docsDir
cp -R welcome $docsDir
}