SUMMARY="A random character 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/"
COPYRIGHT="2005-2009 Sergey S. Kazenyuk
	2018-2020 Humdinger, Janus
	2021 HaikuArchives Team"
LICENSE="MIT"
REVISION="1"
SOURCE_URI="https://github.com/HaikuArchives/Randomizer/archive/$portVersion.tar.gz"
CHECKSUM_SHA256="e913e443ab4f1256ecf3c188ce7bc734c906b68749a2616b5ecaf92bd61d3a72"
SOURCE_DIR="Randomizer-$portVersion/src"

ARCHITECTURES="all"

PROVIDES="
	randomizer = $portVersion
	app:Randomizer = $portVersion
	"
REQUIRES="
	haiku
	"

BUILD_REQUIRES="
	haiku_devel
	"
BUILD_PREREQUIRES="
	makefile_engine
	cmd:g++
	cmd:make
	"

BUILD()
{
	make $jobArgs
	make bindcatalogs
}

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