pkgname=telepathy-qt pkgver=0.9.7 pkgrel=1 arch="all" url="http://telepathy.freedesktop.org/wiki/" license="LGPL" pkgdesc="A library for Qt-based Telepathy clients" depends="qt5-qtbase telepathy-farstream" makedepends="cmake doxygen python2 qt5-qttools-dev telepathy-farstream" conflicts="telepathy-qt5" provides="telepathy-qt5" replaces="telepathy-qt5" source="https://telepathy.freedesktop.org/releases/$pkgname/$pkgname-$pkgver.tar.gz" prepare() { mkdir -p $srcdir/build } build() { cd $srcdir/build cmake $srcdir/$pkgname-$pkgver \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DPYTHON_EXECUTABLE=/usr/bin/python2 \ -DDESIRED_QT_VERSION=5 \ -DENABLE_EXAMPLES=OFF \ -DENABLE_TESTS=OFF make } package() { cd $srcdir/build make DESTDIR="$pkgdir" install } sha512sums="081daecb2509ea690079014bcc88eacbf2b3e4f4ac42aaf1b0cb264c01b801bc499a041482571d383f258cb3d3e2c6ffa5682fbe417fe807fcc25a06d2ead877 telepathy-qt-0.9.7.tar.gz"