aceofwands: 1.0.4 recipe (#12745)

This adds a recipe for a simple Haiku native & MIT licensed
tarot card reading application.

Co-authored-by: politebot <root@politebot.com>
Co-authored-by: Joachim Mairböck <j.mairboeck@gmail.com>
This commit is contained in:
1wErt3r
2025-08-16 12:04:16 -05:00
committed by GitHub
parent 88a35bd3a5
commit d3caff8a33

View File

@@ -0,0 +1,46 @@
SUMMARY="A tarot card reading application"
DESCRIPTION="Ace of Wands is a desktop application for Haiku that provides tarot card readings."
HOMEPAGE="https://github.com/1wErt3r/Ace_of_Wands"
COPYRIGHT="2025 politebot"
LICENSE="MIT"
REVISION="1"
SOURCE_URI="https://github.com/1wErt3r/Ace-of-Wands/archive/refs/tags/v$portVersion.tar.gz"
SOURCE_DIR="Ace-of-Wands-$portVersion"
CHECKSUM_SHA256="0a018318f5cea1970598d284c1303d458450536e62e5e84c71ac6818ee11b487"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
aceofwands$secondaryArchSuffix = $portVersion
app:aceofwands = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libcurl$secondaryArchSuffix
lib:libjsoncpp$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libcurl$secondaryArchSuffix
devel:libjsoncpp$secondaryArchSuffix
"
BUILD_PREREQUIRES="
makefile_engine
cmd:g++$secondaryArchSuffix
cmd:make
"
BUILD()
{
make TARGET_DIR=.
}
INSTALL()
{
mkdir -p $appsDir
cp aceofwands $appsDir/
addAppDeskbarSymlink $appsDir/aceofwands "Ace of Wands"
}