# $Id: PKGBUILD 164201 2012-07-27 14:44:27Z andrea $ # Maintainer: Andrea Scarpino # Contributor: Laurent Carlier pkgname=telepathy-kde-approver _pkgname=ktp-approver pkgver=0.4.1 pkgrel=1 pkgdesc="KDE Channel Approver for Telepathy" arch=('i686' 'x86_64' 'mips64el') url="http://community.kde.org/Real-Time_Communication_and_Collaboration" license=('GPL') depends=('telepathy-kde-common-internals' 'telepathy-kde-contact-list') makedepends=('cmake' 'automoc4') groups=('kde-telepathy') source=("http://download.kde.org/unstable/kde-telepathy/${pkgver}/src/${_pkgname}-${pkgver}.tar.bz2") sha1sums=('04563bda017dacfb8a1e2c8f0e39adb47269fd47') build() { cd "${srcdir}" mkdir build cd build cmake ../${_pkgname}-${pkgver} \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release make } package() { cd "${srcdir}"/build make DESTDIR="${pkgdir}" install }