SUMMARY="An app to make it snow"
DESCRIPTION="BSnow is a fun replicant that will make it snow in your \
background."
HOMEPAGE="https://github.com/HaikuArchives/BSnow"
COPYRIGHT="2016 François Revol"
LICENSE="MIT"
REVISION="3"
srcGitRev="aa7e0a293ba8541c5b3ac85b8df23488f00058d0"
SOURCE_URI="https://github.com/HaikuArchives/BSnow/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="b1ed96ef4c731bbfbe62b3a13a83b749797bff342cdba5145519c074f1029106"
SOURCE_DIR="BSnow-$srcGitRev"

ARCHITECTURES="all"

PROVIDES="
	bsnow = $portVersion
	app:BSnow = $portVersion
	"
REQUIRES="
	haiku
	"

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

BUILD()
{
	make $jobArgs
}

INSTALL()
{
	mkdir -p $appsDir/BSnow
	cp -r objects.x86-cc2-release/BSnow $appsDir/BSnow
	addAppDeskbarSymlink $appsDir/BSnow/BSnow BSnow
}
