Files
haikuports/haiku-apps/calendar/calendar-1.0_20181028.recipe
Schrijvers Luc e9fd58b538 calendar, update to use new Weekview (#3355)
* calendar, update to use new Weekview

* calendar, add date to the recipe for srcGitRev checkout

* calendar, fix recipe name
2018-11-19 19:07:05 +01:00

59 lines
1.5 KiB
Bash

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="e2f662c556459764568f3a90953f0d318d3ee48c"
SOURCE_URI="https://github.com/HaikuArchives/Calendar/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="2daa1755bded4d9314b65b2138c4af1d91e7c1318e5a68e7ae6841dcdf5b387a"
SOURCE_FILENAME="calendar-$portVersion-$srcGitRev.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="
makefile_engine
cmd:gcc$secondaryArchSuffix
cmd:make
"
BUILD()
{
make OBJ_DIR=objects $jobArgs
}
INSTALL()
{
mkdir -p "$appsDir"
cp objects/Calendar $appsDir
addAppDeskbarSymlink "$appsDir"/Calendar
}