blob: d2114084ec0c83a8903b6f8e19a6afde61f8b3e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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.14
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
}
|