summaryrefslogtreecommitdiff
path: root/extra/libkolab/PKGBUILD
blob: 3aea44a7646f72e3e583652d76bd127877f20888 (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
31
32
33
# $Id: PKGBUILD 208203 2014-03-18 16:57:38Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>

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

prepare() {
  mkdir build
}

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
}