desktop/libkolab/PKGBUILD

38 lines
886 B
Bash
Raw Normal View History

# Maintainer:
# Contributors: H W Tovetjärn (totte) <totte@tott.es>
# 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=('x86_64')
license=('GPL')
depends=('libkolabxml'
'kdepimlibs')
makedepends=('cmake'
'automoc4'
'boost')
source=("http://mirror.kolabsys.com/pub/releases/${pkgname}-${pkgver}.tar.gz"{,.gpg})
sha512sums=('3ba23bc11c3fb1c852e5b7b9788fed6d'
'56052090b7fb89813c3bae1cb5b104c5')
prepare() {
mkdir "${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
}