core/telepathy-qt/PKGBUILD

41 lines
1.0 KiB
Bash
Raw Normal View History

2012-07-11 07:00:28 +08:00
# maintainer abveritas@chakra-project.org
pkgname=telepathy-qt
2014-07-27 18:38:16 +08:00
pkgver=0.9.4
2014-07-27 23:19:08 +08:00
pkgrel=2
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')
options=('!libtool')
depends=('qt' 'telepathy-farstream' 'python2-dbus')
makedepends=('libxslt' 'python2' 'cmake' 'doxygen')
2012-01-25 13:42:39 +08:00
conflicts=('telepathy-qt4')
provides=('telepathy-qt4')
source=("http://telepathy.freedesktop.org/releases/$pkgname/$pkgname-$pkgver.tar.gz"
2014-07-27 18:38:16 +08:00
"farstream-0.2.patch")
sha256sums=('f1b1db3a9f96ece92df430a8de4d30317f4c58a06fe99e82cc2c6875791e61f2'
'5eb39f16b3988f0b50da29a64838af36e96aec38a1e9353a22242eec76ec0f8a')
2014-07-27 18:38:16 +08:00
prepare() {
mkdir build
2014-07-27 18:38:16 +08:00
cd ${pkgname}-${pkgver}
patch -p1 -i "${srcdir}"/farstream-0.2.patch
}
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
}