SUMMARY="An application that monitors Tracker queries"
DESCRIPTION="
This is a tiny little GUI application that monitors any regular Tracker \
queries and displays miniature indicator lights for the presence of results."
HOMEPAGE="https://github.com/HaikuArchives/QueryWatcher"
COPYRIGHT="2003-2004 Michael Armida
	2004 Mikael Eiman
	2004 Michael Davidson"
LICENSE="Public Domain"
REVISION="6"
srcGitRev="27851d7e9955e6cd9e43e5ae071359550a762e27"
SOURCE_URI="$HOMEPAGE/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="116b9288d32a9d3e6a2172666672c816e474d145051c5e4b160bb1062dc2ef3a"
SOURCE_DIR="QueryWatcher-$srcGitRev"

ARCHITECTURES="all"

PROVIDES="
	querywatcher = $portVersion
	app:QueryWatcher = $portVersion
	"
REQUIRES="
	haiku
	"

BUILD_REQUIRES="
	haiku_devel
	"
BUILD_PREREQUIRES="
	makefile_engine
	cmd:gcc
	cmd:make
	"

BUILD()
{
	cd src
	make OBJ_DIR=objects \
		BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
}

INSTALL()
{
	mkdir -p $appsDir
	cp -a src/objects/QueryWatcher $appsDir
	addAppDeskbarSymlink $appsDir/QueryWatcher

	mkdir -p $docDir
	cp README $docDir
}
