 SUMMARY="A tool to quickly start any installed application"
DESCRIPTION="QuickLaunch is a small launcher tool that helps you to quickly \
start any installed application (as long as it has an app-signature). Simply \
start to enter the name of an application and QuickLaunch will find all \
programs matching these initial letters and show them in a list.
You choose an app from that list with the CursorUp/Down keys and launch it \
by hitting RETURN. ESC quits QuickLaunch.

It's recommended to set a key combo to start QuickLaunch with Haiku's \
Shortcuts preferences."
HOMEPAGE="https://github.com/humdingerb/quicklaunch"
COPYRIGHT="2010-2019 Humdinger"
LICENSE="MIT"
REVISION="1"
SOURCE_URI="https://github.com/humdingerb/quicklaunch/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="c43889798379a19053ef4a451da365b676d736e2260d2db31a9d3ad14d38062f"

ARCHITECTURES="all"

USER_SETTINGS_FILES="settings/QuickLaunch_settings"

PROVIDES="
	quicklaunch = $portVersion
	app:QuickLaunch = $portVersion
	"
REQUIRES="
	haiku
	"

BUILD_REQUIRES="
	haiku_devel
	"
BUILD_PREREQUIRES="
	makefile_engine
	cmd:g++
	cmd:make
	"

BUILD()
{
	make $jobArgs OBJ_DIR=objects
	make bindcatalogs OBJ_DIR=objects
}

INSTALL()
{
	quicklaunchDir=$appsDir/QuickLaunch
	mkdir -p $quicklaunchDir

	cp -af objects/QuickLaunch $quicklaunchDir
	cp -af ReadMe.html $quicklaunchDir
	cp -r images $quicklaunchDir

	addAppDeskbarSymlink $quicklaunchDir/QuickLaunch
}
