updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / gwibber-unity / PKGBUILD
blob3c931513c1ea6af6140c3dbba055b60f18ea84c6
1 # Maintainer: György Balló <ballogy@freestart.hu>
2 pkgname=gwibber-unity
3 _pkgname=gwibber
4 pkgver=3.3.2
5 pkgrel=1
6 pkgdesc="Microblogging client for GNOME, which supports Twitter, Identi.ca, StatusNet, Facebook, Flickr, Digg, FriendFeed and Qaiku with Unity integration"
7 arch=(i686 x86_64)
8 url="http://gwibber.com/"
9 license=(GPL)
10 depends=(gtkspell3 json-glib 'libunity>=5.0.0' dbus-python gnome-keyring python-gnomekeyring python-notify python-wnck python-egenix-mx-base python2-oauth python-imaging python-pycurl python-simplejson pywebkitgtk pyxdg xdg-utils)
11 makedepends=('vala>=0.14' 'intltool>=0.35.0' 'gobject-introspection>=0.10')
12 optdepends=('libindicate: Messages Indicator support')
13 provides=("gwibber=$pkgver")
14 conflicts=(gwibber)
15 options=(!libtool)
16 install=$_pkgname.install
17 source=(http://launchpad.net/$_pkgname/3.4/$pkgver/+download/$_pkgname-$pkgver.tar.gz)
18 md5sums=('47a15990fb3b27bc1ef6b953b9b26022')
20 build() {
21   cd "$srcdir/$_pkgname-$pkgver"
22   find . -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
24   # Fix lens icon path
25   sed -i 's|Icon=applications-microblogging-panel|Icon=/usr/share/gwibber/unity/applications-microblogging-panel.svg|' lens/data/gwibber.lens.in.in
27   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/$_pkgname \
28               --disable-static --disable-schemas-compile
29   make
32 package() {
33   cd "$srcdir/$_pkgname-$pkgver"
35   make DESTDIR="$pkgdir" install