new recipe: F-crm (#4144)

* new recipe : f-crm
This commit is contained in:
mazbrili
2019-11-21 14:17:46 +07:00
committed by Schrijvers Luc
parent c523f595c4
commit 409ab264c4
2 changed files with 127 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
resource app_signature "application/x-vnd.F-crm";
resource app_flags B_SINGLE_LAUNCH;
resource app_version {
major = @MAJOR@,
middle = @MIDDLE@,
minor = @MINOR@,
/* 0 = development 1 = alpha 2 = beta
3 = gamma 4 = golden master 5 = final */
variety = 2,
internal = 0,
short_info = "F-CRM Customer Relations Management",
long_info = "CRM application for Freelancers and Individual Contractors."
};
resource vector_icon {
$"6E6369660A04005E0500020006023930AE389E03BE897D3F17AA4CC3A3C72217"
$"005F7993FF8B9EB203496481020006023B88943D892ABF94023D936B4C947442"
$"A24F00F2F5F7FFDAE6F2020006023B88943D892ABF94023D936B4C947442A24F"
$"00F7F3DEFFF2D291020006023B88943D892ABF94023D936B4C947442A24F00F0"
$"8888FFDC4D4D020006023B88943D892ABF94023D936B4C947442A24F0084B1DE"
$"FF3A76B4020106023B80000000000000003B80004680004AE00083FFFFFFFFF2"
$"F2B7020106023B80000000000000003B80004680004AE00000FCCDFCFFA204A4"
$"0E0A04485E605A5A50224B0A06485C4F4F584E50342C26244A0A035034584E4C"
$"480A044B4D4F4F584E4C480A034B4D4F4F485C08025034485C0A04244A485C50"
$"342C260A0827493D533E4E47514A403638343E2A3A0A082B4B3D533E4E47514A"
$"403638343E2F3C0A0427492B4B2F3C2A3A0A042F2A4B354A3B2E3002042E48BA"
$"C548B66048245224C4B824C91D2E5CB6605CBAC55C385238C91D38C4B806033B"
$"B651C4A9B514C5E9B651C4A92EC6EBB651C92CB651C92CB514C7EC08032A562E"
$"522E4A120A000100000A01010118001501178600040A0101011815FF01178400"
$"040A020102000A030103000A020104000A0101051815FF01178400040A040106"
$"000A0701071815FF01178200040A050108000A060109000A07010A000A01010B"
$"18001501178600040A01010B1815FF01178400040A08010B000A09010C0815FF"
$"0A01010D18001501178320040A01010D1A3FF5CABA40E73A40E73FF5CAC5738C"
$"42786215FF0117822204"
};

View File

@@ -0,0 +1,87 @@
SUMMARY="Customer Relations Management for Freelancers and Individual Contractors"
DESCRIPTION="The application is dead simple, with just the complexity and feature
a high value Freelancer needs to do a brilliant job with sales and customer
relations.
Features:
* Contact management (companies or private persons).
* Contact-person management at the companies.
* Intents (pipelines) - some mini-projects with clear defined goals that you want to achieve.
For example , sell something to, or get the attention from, a prospect.
* Actions - Steps / tasks to perform to move an intent forward against completion.
For example - send a follow-up mail at a specific date.
* Document management documents and mails are linked to customers, persons, intents or actions.
* Journal - a list of all the relevant things that has happened within the relation with a contact.
This is updated automatically when you add or change information.
* Data is stored locally in a sqlite database."
COPYRIGHT="1999-2019 Jarle Aase"
HOMEPAGE="https://github.com/jgaa/f-crm"
LICENSE="GNU GPL v3"
REVISION="1"
SOURCE_URI="https://github.com/jgaa/f-crm/archive/v${portVersion/\~beta/-beta}.tar.gz"
CHECKSUM_SHA256="ac404cdcf7f5413f744a780299717790397bfc59017cbb043997d66b5af63d10"
SOURCE_FILENAME="f-crm-${portVersion/\~beta/-beta}.tar.gz"
SOURCE_DIR="f-crm-${portVersion/\~beta/-beta}"
ADDITIONAL_FILES="fcrm.rdef.in"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
if [ "$targetArchitecture" = x86_gcc2 ]; then
SECONDARY_ARCHITECTURES="x86"
fi
PROVIDES="
fcrm$secondaryArchSuffix = $portVersion
app:Fcrm = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libGL$secondaryArchSuffix
lib:libQt5Core$secondaryArchSuffix
lib:libQt5Gui$secondaryArchSuffix
lib:libQt5Network$secondaryArchSuffix
lib:libQt5PrintSupport$secondaryArchSuffix
lib:libQt5Svg$secondaryArchSuffix
lib:libQt5Xml$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libQt5Core$secondaryArchSuffix
devel:libQt5Gui$secondaryArchSuffix
devel:libQt5Network$secondaryArchSuffix
devel:libQt5PrintSupport$secondaryArchSuffix
devel:libQt5Svg$secondaryArchSuffix
devel:libQt5Xml$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
cmd:pkg_config$secondaryArchSuffix
cmd:qmake$secondaryArchSuffix >= 5
"
BUILD()
{
qmake
make $jobArgs
}
INSTALL()
{
install -d $appsDir
install -T ./f-crm $appsDir/F-CRM
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
local MINOR="`echo "$portVersion" | cut -d. -f3 | cut -d~ -f1`"
sed \
-e "s|@MAJOR@|$MAJOR|" \
-e "s|@MIDDLE@|$MIDDLE|" \
-e "s|@MINOR@|$MINOR|" \
"$portDir"/additional-files/fcrm.rdef.in > fcrm.rdef
addResourcesToBinaries fcrm.rdef $appsDir/F-CRM
addAppDeskbarSymlink $appsDir/F-CRM
}