desktop/libkolab/PKGBUILD

38 lines
933 B
Bash
Raw Normal View History

# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
# Contributors: Manuel Tortosa <manutortosa@chakra-project.org>
# Andrea Scarpino <andrea@archlinux.org>
pkgname=libkolab
2014-10-17 05:31:47 +08:00
pkgver=0.5.3
2014-08-25 01:33:17 +08:00
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})
2014-10-17 05:31:47 +08:00
md5sums=('c42b2c8cbd6de81137c3cf5b5e5a4584'
'b061e4dd0e94880044025a2ef244b16f')
prepare() {
2014-04-14 00:08:46 +08:00
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
}