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"
SRC_URI="git://github.com/HaikuArchives/QueryWatcher.git#64b66ee9e9"
LICENSE="Public Domain"
COPYRIGHT="
	2003-2004 Michael Armida	
	2004 Mikael Eiman
	2004 Michael Davidson
	"
REVISION="2"
ARCHITECTURES="x86_gcc2 x86 ?x86_64"

PROVIDES="
	QueryWatcher = $portVersion
	app:QueryWatcher = $portVersion
	"

REQUIRES="
	haiku >= $haikuVersion
	"

BUILD_REQUIRES="
	haiku_devel >= $haikuVersion
	"

BUILD_PREREQUIRES="
	makefile_engine
	cmd:gcc
	cmd:make
	cmd:mkdepend
	"

PATCHES="querywatcher-1.4.patchset"

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
}
