archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libical / trunk / PKGBUILD
blobe062724fe5b29abbdb0d149d317aa03f36f7cb70
1 # Maintainer: Lukas Fleischer <lfleischer@archlinux.org>
2 # Contributor: Andrea Scarpino <andrea@archlinux.org>
3 # Contributor: Pierre Schmitz <pierre@archlinux.de>
5 pkgname=libical
6 pkgver=3.0.16
7 pkgrel=4
8 pkgdesc="An open source reference implementation of the icalendar data type and serialization format"
9 arch=('x86_64')
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')
18 build() {
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 \
25     -DSHARED_ONLY=true \
26     -DCMAKE_DISABLE_FIND_PACKAGE_BerkeleyDB=true
27   cmake --build build
30 check() {
31   cmake --build build --target test
34 package() {
35   DESTDIR="${pkgdir}" cmake --install build