2014-01-13 00:22:06 +08:00
|
|
|
# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
|
|
|
|
# Contributors: Manuel Tortosa <manutortosa@chakra-project.org>
|
2013-12-21 00:06:41 +08:00
|
|
|
# Andrea Scarpino <andrea@archlinux.org>
|
2012-12-10 08:37:50 +08:00
|
|
|
|
|
|
|
pkgname=libkolab
|
2013-12-21 01:33:11 +08:00
|
|
|
pkgver=0.5.0
|
2014-03-04 23:12:44 +08:00
|
|
|
pkgrel=7
|
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 01:33:11 +08:00
|
|
|
sha512sums=('09dc3493ad32dc6f59d0ee0abc4faef32bfb9bb3c69d94440f67a30f5cac3456427ffffdfab1604fb4f1c68b0d754399ef99ef2be06894646586d0501562b917'
|
|
|
|
'094aa012584a639f641bc48707d9690e1368041bea2484001b60ad127310581fa5121aecffc70a27addf7ad40362b8b8f326aa12e540e3dc80dd299bf6014bc8')
|
2013-12-21 00:06:41 +08:00
|
|
|
|
|
|
|
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
|
|
|
}
|