core/telepathy-qt/PKGBUILD

38 lines
900 B
Bash
Raw Normal View History

2012-07-11 07:00:28 +08:00
# maintainer abveritas@chakra-project.org
pkgname=telepathy-qt
2014-10-20 09:24:51 +08:00
pkgver=0.9.5
pkgrel=1
pkgdesc="A library for Qt-based Telepathy clients."
2013-04-04 19:47:39 +08:00
arch=('x86_64')
url="http://telepathy.freedesktop.org"
groups=('telepathy')
license=('LGPL')
depends=('qt' 'telepathy-farstream' 'python2-dbus')
makedepends=('libxslt' 'python2' 'cmake' 'doxygen')
2014-10-20 09:24:51 +08:00
options=('staticlibs')
2012-01-25 13:42:39 +08:00
conflicts=('telepathy-qt4')
provides=('telepathy-qt4')
2014-10-20 09:24:51 +08:00
source=("http://telepathy.freedesktop.org/releases/$pkgname/$pkgname-$pkgver.tar.gz")
sha256sums=('93474858efe55bf45ee9352f88b852d4a24505939dc81a3a3c6fa5a686809c8e')
2014-07-27 18:38:16 +08:00
prepare() {
mkdir build
2014-07-27 18:38:16 +08:00
cd ${pkgname}-${pkgver}
}
2014-07-27 18:38:16 +08:00
build() {
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
2014-07-27 18:38:16 +08:00
-DPYTHON_EXECUTABLE=/usr/bin/python2 \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd "${srcdir}"/build
make DESTDIR="$pkgdir" install
}