desktop/libkolab/PKGBUILD

31 lines
719 B
Bash
Raw Normal View History

pkgname=libkolab
2015-12-06 21:33:31 +08:00
pkgver=1.0.2
pkgrel=3
pkgdesc='Advanced Kolab Object Handling Library'
url='http://git.kolab.org/libkolab/'
arch=('x86_64')
license=('GPL')
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')
prepare() {
mkdir -p 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
}