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