summaryrefslogtreecommitdiff
path: root/extra/python-telepathy/PKGBUILD
blob: 74d1da3e5aa8b9eadd108815d4b2051bf263911a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $Id: PKGBUILD 168660 2012-10-13 20:59:47Z eric $
# Maintainer:  Ionut Biru <ibiru@archlinux.org>
# Contributor: Daniel Balieiro <daniel@balieiro.com>
pkgbase=python-telepathy
pkgname=('python2-telepathy')
pkgver=0.15.19
pkgrel=3
pkgdesc="Python libraries for use in Telepathy clients and connection managers"
arch=('i686' 'x86_64' 'mips64el')
url="http://telepathy.freedesktop.org"
license=('LGPL')
depends=('dbus-python')
makedepends=('libxslt')
conflicts=('python-telepathy')
replaces=('python-telepathy')
source=(http://telepathy.freedesktop.org/releases/telepathy-python/telepathy-python-${pkgver}.tar.gz{,.asc}
        telepathy-python-generated-errors.patch)
md5sums=('f7ca25ab3c88874015b7e9728f7f3017'
         '3f0e1af0452d62a0c0aab916e045579c'
         '2dfa69cd0548661dbbb5ae53b1c19e0f')

build() {
    cd "${srcdir}/telepathy-python-${pkgver}"
    patch -Np1 -i "$srcdir/telepathy-python-generated-errors.patch"
    autoreconf
    ./configure --prefix=/usr
    make
}

package_python2-telepathy() {
    cd "${srcdir}/telepathy-python-${pkgver}"
    make DESTDIR="${pkgdir}" install
}