SUMMARY="Image browser"
DESCRIPTION="
Peek is a free image browser and viewer with the aim of of being small, fast, \
efficient, very functional and intuitive.
"
HOMEPAGE="https://github.com/HaikuArchives/Peek"
SOURCE_URI="git+https://github.com/HaikuArchives/Peek.git#ce06fe5"
REVISION="1"
COPYRIGHT="2001 Durand John Miller"
LICENSE="BSD (3-clause)"

ARCHITECTURES="x86_gcc2"

PROVIDES="
	peek = $portVersion
	app:Peek = $portVersion
	"

REQUIRES="
	haiku
	"

BUILD_PREREQUIRES="
	makefile_engine
	cmd:make
	cmd:gcc
	cmd:g++
	"

BUILD_REQUIRES="
	haiku_devel
	"

BUILD()
{
	cd source
	make $jobArgs OBJ_DIR=objects
}

INSTALL()
{
	mkdir -p $appsDir/Peek
	cp source/objects/Peek $appsDir/Peek/Peek
	cp -r languages $appsDir/Peek/
	addAppDeskbarSymlink $appsDir/Peek/Peek
}
