pkgname=libkolab pkgver=1.0.2 pkgrel=1 pkgdesc='Advanced Kolab Object Handling Library' url='http://git.kolab.org/libkolab/' arch=('x86_64') license=('GPL') depends=('libkolabxml' 'kmime' 'kcontacts' 'kcalutils' 'akonadi-client' 'akonadi-notes') makedepends=('cmake' 'kdoctools' 'boost' 'swig') source=("http://mirror.kolabsys.com/pub/releases/$pkgname-$pkgver.tar.gz"{,.gpg}) md5sums=('312f35920989fd115386ee256fe78ba2' '9c829ce9983b3c8cbab9ce833c982924') prepare() { mkdir -p build } build() { cd build cmake ../${pkgname}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DBUILD_TESTS=OFF make } package() { cd build make DESTDIR="${pkgdir}" install }