SUMMARY="BeOS tile matching game"
DESCRIPTION="BShisen is a Majong style game made for Haiku."
HOMEPAGE="https://github.com/HaikuArchives/BShisen"
COPYRIGHT="1998-1999 Kelvin W Sherlock"
LICENSE="MIT"
REVISION="1"
srcGitRev="1e86e4daec9f48d9aa9642227f962159cfe3a733"
SOURCE_URI="https://github.com/HaikuArchives/BShisen/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="263343a257a313358fee3b8bf3448cb50ab15f8e4c8b0ecd7e12b2e408822ba6"
SOURCE_FILENAME="BShisen-$portVersion-$srcGitRev.tar.gz"
SOURCE_DIR="BShisen-$srcGitRev/source"

ARCHITECTURES="!all x86_gcc2"

PROVIDES="
	bshisen = $portVersion
	app:BShisen = $portVersion
	"
REQUIRES="
	haiku
	"

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

BUILD()
{
	make OBJ_DIR=objects
}

INSTALL()
{
	install -d $appsDir
	install -t $appsDir objects/BShisen
	addAppDeskbarSymlink $appsDir/BShisen
}
