desktop/libkpeople/PKGBUILD
2014-10-19 21:26:05 -04:00

34 lines
799 B
Bash

# maintainer: Giuseppe Calà <jiveaxe@gmail.com>
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=libkpeople
pkgver=0.3.0
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}/src/${pkgname}-${pkgver}.tar.bz2")
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
}
md5sums=('cf9c565742dde9b8743a2dfea2d8259f')