# $Id: PKGBUILD 168056 2012-10-05 14:06:24Z andrea $ # Maintainer: Andrea Scarpino pkgname=telepathy-kde-send-file _pkgname=ktp-send-file pkgver=0.5.1 pkgrel=1 pkgdesc="A File manager plugin to launch a file transfer job with a specified contact" arch=('i686' 'x86_64' 'mips64el') url="http://community.kde.org/Real-Time_Communication_and_Collaboration" license=('GPL') depends=('telepathy-kde-filetransfer-handler' 'telepathy-kde-contact-list') makedepends=('cmake' 'automoc4') groups=('kde-telepathy') install=${pkgname}.install source=("http://download.kde.org/unstable/kde-telepathy/${pkgver}/src/${_pkgname}-${pkgver}.tar.bz2") sha1sums=('787813410e81fb2dfebaeed1eae3426a70405122') 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 }