summaryrefslogtreecommitdiff
path: root/repo/libical/libical.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-04 15:08:04 +0100
committerdavidovski <david@davidovski.xyz>2022-06-04 15:08:04 +0100
commit873665024ebfaa761ee49b508a79db7178aeb778 (patch)
tree6cd3b4ce3a9f4b0586ffa48e73a6ba4c8da2db43 /repo/libical/libical.xibuild
parent4445f6e15185f58dc599390ab74df3ca19b437b7 (diff)
added gnupg
Diffstat (limited to 'repo/libical/libical.xibuild')
-rw-r--r--repo/libical/libical.xibuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/repo/libical/libical.xibuild b/repo/libical/libical.xibuild
new file mode 100644
index 0000000..b76b0df
--- /dev/null
+++ b/repo/libical/libical.xibuild
@@ -0,0 +1,27 @@
+#!/bin/sh
+
+NAME="libical"
+DESC="Reference implementation of the iCalendar format"
+
+MAKEDEPS="perl cmake vala glib icu libxml2 gobject-introspection"
+
+PKG_VER=3.0.13
+SOURCE="https://github.com/libical/libical/releases/download/v$PKG_VER/libical-$PKG_VER.tar.gz"
+
+build() {
+ cmake -B build \
+ -DCMAKE_BUILD_TYPE=MinSizeRel \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DSHARED_ONLY=true \
+ -DENABLE_GTK_DOC=false \
+ -DGOBJECT_INTROSPECTION=true \
+ -DICAL_GLIB_VAPI=true
+ cmake --build build
+}
+
+package() {
+ cd $BUILD_ROOT
+ DESTDIR="$PKG_DEST" cmake --install build
+}
+