summaryrefslogtreecommitdiff
path: root/gnome-unstable/empathy
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-12 00:01:32 +0000
committerroot <root@rshg054.dnsready.net>2012-03-12 00:01:32 +0000
commita6cb3ddef295c5feb4e03ee198dbb31cdf62d518 (patch)
tree4ea0c57a9a347779a3d69ebee2dc54d994a30235 /gnome-unstable/empathy
parent4640048ddd1331c9f6fc14b8921ccecdb6b1ea11 (diff)
Mon Mar 12 00:01:32 UTC 2012
Diffstat (limited to 'gnome-unstable/empathy')
-rw-r--r--gnome-unstable/empathy/PKGBUILD39
-rw-r--r--gnome-unstable/empathy/empathy.install16
2 files changed, 55 insertions, 0 deletions
diff --git a/gnome-unstable/empathy/PKGBUILD b/gnome-unstable/empathy/PKGBUILD
new file mode 100644
index 000000000..2ba5c26a5
--- /dev/null
+++ b/gnome-unstable/empathy/PKGBUILD
@@ -0,0 +1,39 @@
+# $Id: PKGBUILD 152883 2012-03-10 15:13:57Z ibiru $
+# Maintainer: Ionut Biru <ibiru@archlinux.org>
+
+pkgname=empathy
+pkgver=3.3.91
+pkgrel=1
+pkgdesc="A GNOME instant messaging client using the Telepathy framework."
+arch=('i686' 'x86_64')
+url="http://live.gnome.org/Empathy"
+license=('GPL2')
+depends=('clutter-gst' 'clutter-gtk' 'folks' 'gcr' 'iso-codes' 'libcanberra' 'libpulse' 'libwebkit3' 'networkmanager' 'telepathy-farstream' 'telepathy-glib' 'telepathy-logger' 'telepathy-mission-control')
+makedepends=('intltool' 'itstool')
+optdepends=('telepathy-gabble: XMPP/Jabber support'
+ 'telepathy-idle: IRC support'
+ 'telepathy-salut: Link-local XMPP support'
+ 'telepathy-sofiasip: SIP support'
+ 'telepathy-haze: libpurple support')
+options=('!libtool')
+groups=('gnome-extra')
+install=empathy.install
+source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
+sha256sums=('16d9016642ee6adb1c9abec82a44a9ff7ab33ca39a9735e7f6643cfe87e04ea5')
+
+build() {
+ cd "$pkgname-$pkgver"
+ PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --libexecdir=/usr/lib/empathy \
+ --disable-static \
+ --disable-scrollkeeper \
+ --disable-schemas-compile
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}
diff --git a/gnome-unstable/empathy/empathy.install b/gnome-unstable/empathy/empathy.install
new file mode 100644
index 000000000..f8d2dfb1f
--- /dev/null
+++ b/gnome-unstable/empathy/empathy.install
@@ -0,0 +1,16 @@
+post_install() {
+ glib-compile-schemas /usr/share/glib-2.0/schemas
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+ echo "To use Empathy you need to install at least one Telepathy connection manager."
+}
+
+post_upgrade() {
+ glib-compile-schemas /usr/share/glib-2.0/schemas
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+}
+
+post_remove() {
+ post_upgrade
+}