# $Id: PKGBUILD 208168 2014-03-18 13:58:28Z andrea $ # Maintainer: Andrea Scarpino pkgname=libkolabxml pkgver=1.0.1 pkgrel=1 pkgdesc="Kolab XML Format Schema Definitions Library" url='http://git.kolab.org/libkolabxml/' arch=('i686' 'x86_64') license=('GPL') depends=('xerces-c' 'boost-libs') makedepends=('cmake' 'boost' 'xsd' 'qt4' 'swig') source=("http://mirror.kolabsys.com/pub/releases/${pkgname}-${pkgver}.tar.gz"{,.gpg}) md5sums=('7adccfa0ed91ac954c815e8d13f334ee' '16ff0e56147d439862cda4aeae94d773') prepare() { mkdir 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 }