sbcl rebuild
[arch-packages.git] / telepathy-gabble / trunk / PKGBUILD
blobca16e31c91edbb142a089829cf3d8f930dc42a2a
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
2 # Contributor: Ionut Biru <ibiru@archlinux.org>
3 # Contributor: Daniel Balieiro <daniel@balieiro.com>
4 # Contributor: Rodrigo L. M. Flores <mail@rodrigoflores.org>
6 pkgname=telepathy-gabble
7 pkgver=0.18.4
8 pkgrel=4
9 pkgdesc="A Jabber/XMPP connection manager for Telepathy"
10 arch=(x86_64)
11 url="https://telepathy.freedesktop.org"
12 groups=(telepathy)
13 license=(LGPL2.1)
14 depends=(telepathy-glib libsoup libnice)
15 makedepends=(libxslt python gnome-common)
16 source=(https://telepathy.freedesktop.org/releases/telepathy-gabble/telepathy-gabble-$pkgver.tar.gz{,.asc}
17         telepathy-gabble-0.18.4-python3.patch)
18 install=telepathy-gabble.install
19 sha256sums=('115c91572c72d4a40f0b25b606167b4f2f09441dc7bf1036ccbb1450f1a4969c'
20             'SKIP'
21             '2873cdb3b65deab1418acd25fc5ec4bf120f52dcceda129ae7ac315026ea2749')
22 validpgpkeys=(38FDAD7D73CE1AE7A16200291F3845DD1432A9FB) # Georgios Kiagiadakis <gkiagia@tolabaki.gr>
24 prepare() {
25   cd $pkgname-$pkgver
26   # port to python3, patch taken from Fedora
27   patch -Np1 -i ../telepathy-gabble-0.18.4-python3.patch
30 build() {
31   cd $pkgname-$pkgver
32   ./configure --prefix=/usr \
33     --libexecdir=/usr/lib/telepathy \
34     --disable-Werror --enable-gtk-doc
35   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
36   make
39 package() {
40   cd $pkgname-$pkgver
41   make DESTDIR="$pkgdir" install