mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
51 lines
1.2 KiB
Bash
51 lines
1.2 KiB
Bash
SUMMARY="A finance manager"
|
|
DESCRIPTION="CapitalBe is a finance manager for Haiku. Easily track \
|
|
where your money is going. View reports, reconcile accounts and more! \
|
|
Like other programs published by the same author, Capital Be focuses \
|
|
on keeping easy jobs easy and making tough ones easier."
|
|
HOMEPAGE="https://github.com/HaikuArchives/CapitalBe"
|
|
COPYRIGHT="2009 DarkWyrm (Jon Yoder)"
|
|
LICENSE="MIT"
|
|
REVISION="6"
|
|
srcGitRev="8a3cc368ac2a79b0faf0fde1b4316ceec9e56bd7"
|
|
SOURCE_URI="https://github.com/HaikuArchives/CapitalBe/archive/$srcGitRev.tar.gz"
|
|
CHECKSUM_SHA256="9ad2efa619dbbcde4d235c9b65cd7c9d269f271b05ae93f206bb49358f85e95c"
|
|
SOURCE_DIR="CapitalBe-$srcGitRev"
|
|
|
|
ARCHITECTURES="all ?x86"
|
|
|
|
PROVIDES="
|
|
capitalbe = $portVersion
|
|
app:CapitalBe = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
lib:libsqlite3
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
devel:libsqlite3
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
makefile_engine
|
|
cmd:gcc
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
make $jobArgs OBJ_DIR=objects
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
capitalBeDir=$appsDir/CapitalBe
|
|
mkdir -p $capitalBeDir
|
|
mkdir -p $capitalBeDir/helpfiles
|
|
cp -r src/helpfiles/* $capitalBeDir/helpfiles/
|
|
|
|
mv objects/CapitalBe $capitalBeDir/CapitalBe
|
|
addAppDeskbarSymlink $capitalBeDir/CapitalBe "CapitalBe"
|
|
}
|