Date: Monday, December 6, 2010 @ 10:30:14 Author: ibiru Revision: 102188
upgpkg: telepathy-qt4 0.4.0-1 update to 0.4.0 Modified: telepathy-qt4/trunk/PKGBUILD ----------+ PKGBUILD | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2010-12-06 14:49:19 UTC (rev 102187) +++ PKGBUILD 2010-12-06 15:30:14 UTC (rev 102188) @@ -1,7 +1,7 @@ # $Id$ # Maintainer: Ionut Biru <[email protected]> pkgname=telepathy-qt4 -pkgver=0.3.5 +pkgver=0.4.0 pkgrel=1 pkgdesc="A library for Qt-based Telepathy clients." arch=('i686' 'x86_64') @@ -10,14 +10,23 @@ license=('LGPL') options=('!libtool') depends=('qt' 'telepathy-farsight') -makedepends=('libxslt' 'python') +makedepends=('libxslt' 'python2' 'cmake') source=(http://telepathy.freedesktop.org/releases/$pkgname/$pkgname-$pkgver.tar.gz) -md5sums=('d4ac911d95d18bfaaa683912b0aed519') +md5sums=('ee77a0f3178370ad851acfe622b882cf') build() { - cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr --libexecdir=/usr/lib/telepathy \ - --disable-static - make - make DESTDIR="$pkgdir" install + cd "${srcdir}" + + mkdir build + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DHAVE_QDBUSVARIANT_OPERATOR_EQUAL=1 + make } + +package() { + cd "${srcdir}"/build + make DESTDIR="$pkgdir" install +}
