desktop/libkpeople/PKGBUILD

34 lines
799 B
Bash
Raw Normal View History

2013-10-30 22:18:07 +08:00
# maintainer: Giuseppe Calà <jiveaxe@gmail.com>
2014-03-27 06:17:20 +08:00
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
2013-10-30 22:18:07 +08:00
pkgname=libkpeople
2014-10-20 09:26:05 +08:00
pkgver=0.3.0
2014-03-27 06:17:20 +08:00
pkgrel=1
2013-10-30 22:18:07 +08:00
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')
2014-03-27 06:17:20 +08:00
depends=('kdelibs' 'kdepimlibs')
2013-10-30 22:18:07 +08:00
makedepends=('cmake' 'automoc4')
2014-03-27 06:17:20 +08:00
options=("debug")
2014-07-31 01:29:07 +08:00
source=("http://download.kde.org/unstable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
2013-10-30 22:18:07 +08:00
build() {
2014-03-27 06:17:20 +08:00
cd "${srcdir}/${pkgname}-${pkgver}"
2013-10-30 22:18:07 +08:00
mkdir build
cd build
2014-03-27 06:17:20 +08:00
cmake .. \
-DCMAKE_BUILD_TYPE=${_build_type} \
-DCMAKE_INSTALL_PREFIX=${_installprefix}
2013-10-30 22:18:07 +08:00
make
}
package() {
2014-03-27 06:17:20 +08:00
cd "${srcdir}/${pkgname}-${pkgver}"
cd build
2013-10-30 22:18:07 +08:00
make DESTDIR="${pkgdir}" install
}
2014-10-20 09:26:05 +08:00
md5sums=('cf9c565742dde9b8743a2dfea2d8259f')