SUMMARY="A random symbol sequence generator"
DESCRIPTION="
Randomizer is a random symbol sequence generator. You can create sequences of \
any given length, and control what characters are used.
This program can be used for many purposes, such as for generating random \
passwords or random numbers.
"
HOMEPAGE="https://github.com/HaikuArchives/Randomizer/"
SOURCE_URI="git+https://github.com/HaikuArchives/Randomizer#06c248254f"
LICENSE="MIT"
COPYRIGHT="2005-2009 Sergey S. Kazenyuk"
REVISION="2"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
SOURCE_DIR="randomizer-1.0.0b1/src"

PROVIDES="
	randomizer = $portVersion
	app:randomizer = $portVersion
	"

REQUIRES="
	haiku
	"

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

SOURCE_FILENAME="download"

BUILD()
{
	make
}

INSTALL()
{
	mkdir -p $appsDir
	cp Randomizer $appsDir
	addAppDeskbarSymlink $appsDir/Randomizer
}
