2013-12-21 00:06:41 +08:00
|
|
|
# Maintainer:
|
|
|
|
# Contributors: H W Tovetjärn (totte) <totte@tott.es>
|
|
|
|
# Andrea Scarpino <andrea@archlinux.org>
|
2012-12-10 08:37:50 +08:00
|
|
|
|
|
|
|
pkgname=libkolab
|
2013-12-21 00:06:41 +08:00
|
|
|
pkgver=0.4.2
|
2012-12-10 08:37:50 +08:00
|
|
|
pkgrel=1
|
2013-12-21 00:06:41 +08:00
|
|
|
pkgdesc='Advanced Kolab Object Handling Library'
|
2012-12-10 08:37:50 +08:00
|
|
|
url='http://git.kolab.org/libkolab/'
|
2013-12-21 00:06:41 +08:00
|
|
|
arch=('x86_64')
|
2012-12-10 08:37:50 +08:00
|
|
|
license=('GPL')
|
2013-12-21 00:06:41 +08:00
|
|
|
depends=('libkolabxml'
|
|
|
|
'kdepimlibs')
|
|
|
|
makedepends=('cmake'
|
|
|
|
'automoc4'
|
|
|
|
'boost')
|
2012-12-10 08:37:50 +08:00
|
|
|
source=("http://mirror.kolabsys.com/pub/releases/${pkgname}-${pkgver}.tar.gz"{,.gpg})
|
2013-12-21 00:06:41 +08:00
|
|
|
sha512sums=('3ba23bc11c3fb1c852e5b7b9788fed6d'
|
|
|
|
'56052090b7fb89813c3bae1cb5b104c5')
|
|
|
|
|
|
|
|
prepare() {
|
|
|
|
mkdir "${srcdir}/build"
|
|
|
|
}
|
2012-12-10 08:37:50 +08:00
|
|
|
|
|
|
|
build() {
|
2013-12-21 00:06:41 +08:00
|
|
|
cd "${srcdir}/build"
|
|
|
|
cmake "../${pkgname}-${pkgver}" \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_SKIP_RPATH=ON \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
|
|
make
|
2012-12-10 08:37:50 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2013-12-21 00:06:41 +08:00
|
|
|
cd "${srcdir}/build"
|
|
|
|
make DESTDIR="${pkgdir}" install
|
2012-12-10 08:37:50 +08:00
|
|
|
}
|