desktop/libkpeople/PKGBUILD
2014-03-26 22:17:20 +00:00

34 lines
795 B
Bash

# maintainer: Giuseppe Calà <jiveaxe@gmail.com>
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=libkpeople
pkgver=0.2.1
pkgrel=1
pkgdesc="A library that provides access to all contacts and the people who hold them."
arch=('x86_64')
url="http://www.kde.org"
license=('GPL')
depends=('kdelibs' 'kdepimlibs')
makedepends=('cmake' 'automoc4')
options=("debug")
source=("http://download.kde.org/unstable/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.bz2")
md5sums=('8bda5fab90238d036b3d242b2d34b993')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
mkdir build
cd build
cmake .. \
-DCMAKE_BUILD_TYPE=${_build_type} \
-DCMAKE_INSTALL_PREFIX=${_installprefix}
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
cd build
make DESTDIR="${pkgdir}" install
}