summaryrefslogtreecommitdiff
path: root/extra/libkolab/PKGBUILD
blob: fddc5e5db5d84051eaa6ab562ef2b0b5fc14afab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $Id: PKGBUILD 182679 2013-04-12 14:31:51Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>

pkgname=libkolab
pkgver=0.4.2
pkgrel=1
pkgdesc="Advanced Kolab Object Handling Library"
url='http://git.kolab.org/libkolab/'
arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('libkolabxml' 'kdepimlibs')
makedepends=('cmake' 'automoc4' 'boost')
source=("http://mirror.kolabsys.com/pub/releases/${pkgname}-${pkgver}.tar.gz"{,.gpg})
md5sums=('76c112b18c1c0928af5e6e9733a424d3'
         '2b289570a6ca6d8105b2865a953fa36d')

build() {
  mkdir build
  cd build
  cmake ../${pkgname}-${pkgver} \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_SKIP_RPATH=ON \
    -DCMAKE_INSTALL_PREFIX=/usr
  make
}

package() {
  cd build
  make DESTDIR="${pkgdir}" install
}