# Maintainer: Natanael Copa pkgname=libical pkgver=2.0.0 pkgrel=3 pkgdesc="Reference implementation of the iCalendar format" url="https://libical.github.io/libical/" arch="all" options="!check" # Test suite is very broken. license="LGPL MPL" depends="" makedepends="perl cmake" subpackages="$pkgname-dev" source="https://github.com/libical/libical/releases/download/v$pkgver/libical-$pkgver.tar.gz" builddir="$srcdir"/$pkgname-$pkgver build() { cd $builddir cmake -DCMAKE_RELEASE_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DSHARED_ONLY=true make } package() { cd $builddir make DESTDIR="$pkgdir" install } sha512sums="06318512d5df25e97f64b0e82ade6eaa41e42a428641642ecb8973dc23b172698a8ff8734b7e12b033b1278a131c6339d208e1bfd1bcba0a2c9519a01749a55f libical-2.0.0.tar.gz"