diff --git a/haiku-apps/calendar/calendar-1.0.recipe b/haiku-apps/calendar/calendar-1.0.recipe new file mode 100644 index 000000000..138b63ef1 --- /dev/null +++ b/haiku-apps/calendar/calendar-1.0.recipe @@ -0,0 +1,58 @@ +SUMMARY="A native Calendar application for Haiku" +DESCRIPTION="Features: +* Create, modify and delete events. +* Generate notifications for events. +* Day Calendar view. +* Event categorization. +* Set 'All day' long events. +* Fetching events from Google Calendar using Google Calendar API. +* SQLite backend for storing events. +* Setting preferences like 'First day of week', 'Display week number in \ +Calendar'. +* App localization: DateTime strings are localised and updates with locale \ +preferences change but GUI string still needs to be localized." +HOMEPAGE="https://github.com/HaikuArchives/Calendar" +COPYRIGHT="2017-2018 Akshay Agarwal" +LICENSE="MIT" +REVISION="1" +srcGitRev="4e0d9baba3600d7d2d1900d0f1b6e62738863efc" +SOURCE_URI="https://github.com/HaikuArchives/Calendar/archive/$srcGitRev.tar.gz" +CHECKSUM_SHA256="9cb362dd0e9d3aea69cdb85470e733e0068dea6863a18c51a0e8182ed0db80b4" +SOURCE_FILENAME="calendar-1.0.tar.gz" +SOURCE_DIR="Calendar-$srcGitRev" + +ARCHITECTURES="x86_gcc2 x86 x86_64" +SECONDARY_ARCHITECTURES="x86_gcc2 x86" + +PROVIDES=" + calendar$secondaryArchSuffix = $portVersion + app:Calendar + " +REQUIRES=" + haiku$secondaryArchSuffix + lib:libsqlite3$secondaryArchSuffix + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + devel:libsqlite3$secondaryArchSuffix + " +BUILD_PREREQUIRES=" + cmd:gcc$secondaryArchSuffix + cmd:make + makefile_engine + " + +BUILD() +{ + make OBJ_DIR=objects $jobArgs +} + +INSTALL() +{ + mkdir -p "$appsDir" + + cp objects/Calendar $appsDir + + addAppDeskbarSymlink "$appsDir"/Calendar +}