2012-12-10 08:37:50 +08:00
|
|
|
pkgname=libkolab
|
2015-12-06 21:33:31 +08:00
|
|
|
pkgver=1.0.2
|
2016-12-21 05:48:24 +08:00
|
|
|
pkgrel=3
|
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')
|
2016-12-21 05:48:24 +08:00
|
|
|
depends=(libkolabxml akonadi-notes akonadi kcontacts kcalutils)
|
|
|
|
makedepends=(extra-cmake-modules kdoctools boost python3 swig kdesignerplugin)
|
2015-12-06 21:33:31 +08:00
|
|
|
source=("http://mirror.kolabsys.com/pub/releases/$pkgname-$pkgver.tar.gz"{,.gpg})
|
|
|
|
md5sums=('312f35920989fd115386ee256fe78ba2'
|
|
|
|
'9c829ce9983b3c8cbab9ce833c982924')
|
2013-12-21 00:06:41 +08:00
|
|
|
|
|
|
|
prepare() {
|
2015-08-11 05:26:57 +08:00
|
|
|
mkdir -p build
|
2013-12-21 00:06:41 +08:00
|
|
|
}
|
2012-12-10 08:37:50 +08:00
|
|
|
|
|
|
|
build() {
|
2015-08-11 05:26:57 +08:00
|
|
|
cd build
|
|
|
|
cmake ../${pkgname}-${pkgver} \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DBUILD_TESTS=OFF
|
|
|
|
make
|
2012-12-10 08:37:50 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2015-08-11 05:26:57 +08:00
|
|
|
cd build
|
|
|
|
make DESTDIR="${pkgdir}" install
|
2012-12-10 08:37:50 +08:00
|
|
|
}
|