SUMMARY="A search application"
DESCRIPTION="A Haiku Application that provides a replicant to search the internet."
HOMEPAGE="https://github.com/Oyami-Srk/HaikuWebSearch"
COPYRIGHT="2017 Shiroko"
LICENSE="MIT"
REVISION="1"
srcGitRev="c9bc31b35f066870cc73bca78c3f02ac331b1d3f"
SOURCE_URI="$HOMEPAGE/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="86ccf3e816fac123ac156bb54678001506ddb59e292c3b2a3f4ea36fd9719de1"
SOURCE_FILENAME="HaikuWebSearch-$portVersion-$srcGitRev.tar.gz"
SOURCE_DIR="HaikuWebSearch-$srcGitRev"

ARCHITECTURES="all ?x86"

PROVIDES="
	haikuwebsearch = $portVersion
	app:Haiku_WebSearch = $portVersion
	"
REQUIRES="
	haiku
	"

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

BUILD()
{
	make OBJ_DIR=objects
}

INSTALL()
{
	install -d $appsDir
	install -t $appsDir objects/Haiku-WebSearch
	addAppDeskbarSymlink $appsDir/Haiku-WebSearch HaikuWebSearch
}
