From 409ab264c41210909dd8314ff6ee4811495eba2e Mon Sep 17 00:00:00 2001 From: mazbrili Date: Thu, 21 Nov 2019 14:17:46 +0700 Subject: [PATCH] new recipe: F-crm (#4144) * new recipe : f-crm --- app-office/fcrm/additional-files/fcrm.rdef.in | 40 +++++++++ app-office/fcrm/fcrm-0.2.0~beta.recipe | 87 +++++++++++++++++++ 2 files changed, 127 insertions(+) create mode 100644 app-office/fcrm/additional-files/fcrm.rdef.in create mode 100644 app-office/fcrm/fcrm-0.2.0~beta.recipe diff --git a/app-office/fcrm/additional-files/fcrm.rdef.in b/app-office/fcrm/additional-files/fcrm.rdef.in new file mode 100644 index 000000000..a9a9f8d7e --- /dev/null +++ b/app-office/fcrm/additional-files/fcrm.rdef.in @@ -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" +}; diff --git a/app-office/fcrm/fcrm-0.2.0~beta.recipe b/app-office/fcrm/fcrm-0.2.0~beta.recipe new file mode 100644 index 000000000..a8378b973 --- /dev/null +++ b/app-office/fcrm/fcrm-0.2.0~beta.recipe @@ -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 +}