summaryrefslogtreecommitdiff
path: root/nonprism/empathy/PKGBUILD
blob: d47f40c6311e3ba14fccbaf2e80fc436ed8a810b (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
34
35
36
37
38
39
40
# $Id: PKGBUILD 267947 2016-05-14 10:48:23Z heftig $
# Maintainer (Arch): Ionut Biru <ibiru@archlinux.org>
# Maintainer: André Silva <emulatorman@parabola.nu>

pkgname=empathy
pkgver=3.12.12
pkgrel=1.nonprism1
pkgdesc="A GNOME instant messaging client using the Telepathy framework, without geoclue2 support"
url="https://wiki.gnome.org/Apps/Empathy"
arch=(i686 x86_64)
license=(GPL2)
depends=(clutter-gst2 clutter-gtk folks gcr iso-codes libcanberra libpulse webkitgtk
         telepathy-farstream telepathy-glib telepathy-logger telepathy-mission-control
         geocode-glib cheese libchamplain libgudev)
makedepends=(intltool itstool docbook-xsl python python2)
optdepends=('telepathy-gabble: XMPP/Jabber support'
            'telepathy-idle: IRC support'
            'telepathy-salut: Link-local XMPP support'
            'telepathy-rakia: SIP support'
            'telepathy-haze: libpurple support')
options=(!makeflags)
groups=(gnome)
source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
sha256sums=('dda22adf38772d85cd7ff611bcc1a036a6b8625bc7d146c95d4bfcdbc3ecf7cb')

build() {
  cd $pkgname-$pkgver
  PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
      --sysconfdir=/etc  \
      --libexecdir=/usr/lib/empathy \
      --disable-static \
      --enable-location=no
  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}