QuickTour: new recipe

"A quick tour of Haiku, aimed at new users"
This commit is contained in:
Humdinger
2018-10-03 20:20:01 +02:00
committed by humdinger
parent f8c79af243
commit 5913f55376
2 changed files with 58 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
#!/bin/sh
# Script to create a symlink of the Haiku Quick Tour
# start page on the Desktop
startPage="01-start.html"
desktopDir="$(finddir B_DESKTOP_DIRECTORY)"
source="$(findpaths -e B_FIND_PATH_DOCUMENTATION_DIRECTORY quicktour/en/$startPage)"
if [ -e "$source" ]; then
ln -sf "$source" "$desktopDir/QuickTour"
else
exit 1 # couldn't find Quick Tour
fi

View File

@@ -0,0 +1,44 @@
SUMMARY="A quick tour of Haiku, aimed at new users"
DESCRIPTION="The Haiku Quick Tour is a set of HTML pages that introduce \
Haiku's unique features especially to new users. Topics range from window \
widgets and the Deskbar to window management like Stack & Tile and where \
to get more software. All in under 20 slides.
After installation a link 'QuickTour' is created on the Desktop."
HOMEPAGE="https://github.com/humdingerb/quicktour"
COPYRIGHT="2018 Humdinger"
LICENSE="MIT"
REVISION="1"
SOURCE_URI="https://github.com/humdingerb/quicktour/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="1d99c2efb0e1d466af009e4e079249fbe78cce8cce2335814f3098b632b7be15"
SOURCE_FILENAME="quicktour-$portVersion.tar.gz"
ADDITIONAL_FILES="quicktour-link-on-desktop.sh"
POST_INSTALL_SCRIPTS="$relativePostInstallDir/quicktour-link-on-desktop.sh"
ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE="yes"
PROVIDES="
quicktour = $portVersion
"
REQUIRES=""
BUILD_REQUIRES=""
BUILD_PREREQUIRES=""
BUILD()
{
true
}
INSTALL()
{
quickDir=$documentationDir/quicktour
mkdir -p $quickDir
cp -r en $quickDir
cp -r images $quickDir
cp -a Haiku-tour.css $quickDir
mkdir -p $postInstallDir
install -t $postInstallDir -m 755 $portDir/additional-files/quicktour-link-on-desktop.sh
}