SUMMARY="2048 game clone for Haiku"
DESCRIPTION="Join the numbers and get to the 2048 tile!"
HOMEPAGE="https://github.com/threedeyes/2Pow"
COPYRIGHT="2014-2019 Gerasim Troeglazov"
LICENSE="MIT"
REVISION="1"
SOURCE_URI="https://github.com/threedeyes/2Pow/archive/$portVersion.tar.gz"
CHECKSUM_SHA256="f974e89da8c2d530084d285ba86136bf25c9eae21b3a3e2c22778c04f7b12749"
SOURCE_DIR="2Pow-$portVersion"

ARCHITECTURES="all"

PROVIDES="
	2pow = $portVersion
	app:2Pow = $portVersion
	"
REQUIRES="
	haiku
	"

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

BUILD()
{
	make
}

INSTALL()
{
	mkdir -p $appsDir
	cp -a 2Pow $appsDir/2Pow
	addAppDeskbarSymlink $appsDir/2Pow
}
