1 # Maintainer: Lukas Fleischer <lfleischer@archlinux.org>
2 # Contributor: Andrea Scarpino <andrea@archlinux.org>
3 # Contributor: Pierre Schmitz <pierre@archlinux.de>
8 pkgdesc="An open source reference implementation of the icalendar data type and serialization format"
10 url='https://github.com/libical/libical'
11 license=('LGPL' 'MPL')
12 depends=('glibc' 'glib2' 'icu' 'libxml2')
13 makedepends=('cmake' 'ninja' 'gtk-doc' 'doxygen' 'vala' 'gobject-introspection')
14 checkdepends=('python-gobject')
15 source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/v${pkgver}.tar.gz")
16 sha512sums=('72659c98f6c98b3e0fa15849df7f80993403100fb5c237e452df714a7be2d1d27f4547c81b399fe7bc6b1fb10c8c7cf9a23f5b969d588d7b05d7fe2e29c86bd4')
19 cmake -S "${pkgname}-${pkgver}" -B build -G Ninja \
20 -DCMAKE_BUILD_TYPE=None \
21 -DCMAKE_INSTALL_PREFIX=/usr \
22 -DCMAKE_INSTALL_LIBEXECDIR=lib \
23 -DGOBJECT_INTROSPECTION=true \
24 -DICAL_GLIB_VAPI=true \
26 -DCMAKE_DISABLE_FIND_PACKAGE_BerkeleyDB=true
31 cmake --build build --target test
35 DESTDIR="${pkgdir}" cmake --install build