From c4a9baf8f2f863089c267423cb5a988de20816d2 Mon Sep 17 00:00:00 2001 From: Jay Lanagan Date: Fri, 1 May 2026 11:05:14 -0400 Subject: libical: initial import libical-4.0 API changes are not compatible with orage & other software, this is a temporary addition until support is upstreamed. --- libical/Pkgfile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 libical/Pkgfile (limited to 'libical/Pkgfile') diff --git a/libical/Pkgfile b/libical/Pkgfile new file mode 100644 index 0000000..678ac3d --- /dev/null +++ b/libical/Pkgfile @@ -0,0 +1,24 @@ +# Description: An open source implementation of iCalendar protocols and protocol data units +# URL: https://github.com/libical/libical +# Maintainer: Tim Biermann, tbier at posteo dot de +# Depends on: glib libxml2 + +name=libical +version=3.0.20 +release=1 +source=(https://github.com/libical/libical/archive/v$version/$name-$version.tar.gz) + +build() { + cmake -S $name-$version -B build -G Ninja \ + -D CMAKE_INSTALL_PREFIX=/usr \ + -D CMAKE_INSTALL_LIBDIR=lib \ + -D CMAKE_INSTALL_LIBEXECDIR=lib/$name \ + -D CMAKE_BUILD_TYPE=Release \ + -D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \ + -D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \ + -D SHARED_ONLY=true \ + -D ICAL_BUILD_DOCS=false \ + -Wno-dev + cmake --build build + DESTDIR=$PKG cmake --install build +} -- cgit v1.3-3-ga95d