SUMMARY="A matching game"
DESCRIPTION="A game for Haiku OS where users score points by matching the \
columns before breaking them."
HOMEPAGE="https://github.com/spiceweasel/matching-columns"
COPYRIGHT="2017 Scott Jacovidis"
LICENSE="MIT"
REVISION="1"
srcGitRev="eac403db4a639b0893f47738896c60cb37f569c1"
SOURCE_URI="https://github.com/spiceweasel/matching-columns/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="a042f9bc916a10332bd1475bd55af64cd71c28664afbfc333a4b57d558ad85ff"
SOURCE_FILENAME="matchingcolumns-$portVersion-$srcGitRev.tar.gz"
SOURCE_DIR="matching-columns-$srcGitRev"

ARCHITECTURES="?all x86_gcc2 !x86"

PROVIDES="
	matching_columns = $portVersion
	app:MatchColumns = $portVersion
	"
REQUIRES="
	haiku
	"

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

defineDebugInfoPackage matching_columns \
	$appsDir/MatchColumns

BUILD()
{
	make $jobArgs OBJ_DIR=objects
}

INSTALL()
{
	mkdir -p $appsDir
	cp objects/matching-columns $appsDir/MatchColumns
	addAppDeskbarSymlink $appsDir/MatchColumns
}
