core/telepathy-qt/PKGBUILD
2014-10-20 01:24:51 +00:00

38 lines
900 B
Bash

# maintainer abveritas@chakra-project.org
pkgname=telepathy-qt
pkgver=0.9.5
pkgrel=1
pkgdesc="A library for Qt-based Telepathy clients."
arch=('x86_64')
url="http://telepathy.freedesktop.org"
groups=('telepathy')
license=('LGPL')
depends=('qt' 'telepathy-farstream' 'python2-dbus')
makedepends=('libxslt' 'python2' 'cmake' 'doxygen')
options=('staticlibs')
conflicts=('telepathy-qt4')
provides=('telepathy-qt4')
source=("http://telepathy.freedesktop.org/releases/$pkgname/$pkgname-$pkgver.tar.gz")
sha256sums=('93474858efe55bf45ee9352f88b852d4a24505939dc81a3a3c6fa5a686809c8e')
prepare() {
mkdir build
cd ${pkgname}-${pkgver}
}
build() {
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DPYTHON_EXECUTABLE=/usr/bin/python2 \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd "${srcdir}"/build
make DESTDIR="$pkgdir" install
}