description="Implementation of the iCalendar protocols and data formats."
url="http://sourceforge.net/projects/freeassociation/"

packager="spiky <spiky@nutyx.org>"
contributors="Pierre,Tnut"

makedepends=(libxml2 cmake db gobject-introspection icu doxygen glib vala)

name=libical
version=3.0.16
release=3

source=(https://github.com/libical/libical/releases/download/v$version/$name-$version.tar.gz)

build() {
cd $name-$version

mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release  \
-DSHARED_ONLY=yes \
-DGOBJECT_INTROSPECTION=true \
-DICAL_GLIB_VAPI=true        \
-DICAL_BUILD_DOCS=false \
..
make -j1
make DESTDIR=$PKG install
}
