desktop/libkolab/PKGBUILD
2014-10-16 21:31:47 +00:00

38 lines
933 B
Bash

# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
# Contributors: Manuel Tortosa <manutortosa@chakra-project.org>
# Andrea Scarpino <andrea@archlinux.org>
pkgname=libkolab
pkgver=0.5.3
pkgrel=1
pkgdesc='Advanced Kolab Object Handling Library'
url='http://git.kolab.org/libkolab/'
arch=('x86_64')
license=('GPL')
depends=('libkolabxml'
'kdepimlibs')
makedepends=('cmake'
'automoc4'
'boost')
source=("http://mirror.kolabsys.com/pub/releases/${pkgname}-${pkgver}.tar.gz"{,.gpg})
md5sums=('c42b2c8cbd6de81137c3cf5b5e5a4584'
'b061e4dd0e94880044025a2ef244b16f')
prepare() {
mkdir -p "${srcdir}/build"
}
build() {
cd "${srcdir}/build"
cmake "../${pkgname}-${pkgver}" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd "${srcdir}/build"
make DESTDIR="${pkgdir}" install
}