desktop/libkolab/PKGBUILD

31 lines
757 B
Bash

# $Id: PKGBUILD 173021 2012-12-08 17:41:09Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
pkgname=libkolab
pkgver=0.4.0
pkgrel=1
pkgdesc="Advanced Kolab Object Handling Library"
url='http://git.kolab.org/libkolab/'
arch=('i686' 'x86_64')
license=('GPL')
depends=('libkolabxml' 'kdepimlibs')
makedepends=('cmake' 'automoc4' 'boost')
source=("http://mirror.kolabsys.com/pub/releases/${pkgname}-${pkgver}.tar.gz"{,.gpg})
md5sums=('3ba23bc11c3fb1c852e5b7b9788fed6d'
'56052090b7fb89813c3bae1cb5b104c5')
build() {
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}