mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
QuickTour: new recipe
"A quick tour of Haiku, aimed at new users"
This commit is contained in:
14
haiku-misc/quicktour/additional-files/quicktour-link-on-desktop.sh
Executable file
14
haiku-misc/quicktour/additional-files/quicktour-link-on-desktop.sh
Executable 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
|
||||
44
haiku-misc/quicktour/quicktour-0.2.recipe
Normal file
44
haiku-misc/quicktour/quicktour-0.2.recipe
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user