updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / gwibber-devel / PKGBUILD
blob641be5200b2e66e1421d1ebd20812c3d1047895b
1 # Maintainer: György Balló <ballogy@freestart.hu>
2 pkgname=gwibber-devel
3 _pkgname=gwibber
4 pkgver=3.3.1.1
5 pkgrel=1
6 pkgdesc="Microblogging client for GNOME, which supports Twitter, Identi.ca, StatusNet, Facebook, Flickr, Digg, FriendFeed and Qaiku (development release)"
7 arch=(i686 x86_64)
8 url="http://gwibber.com/"
9 license=(GPL)
10 depends=(libgee 'dee>=0.5.18-2' json-glib gtkspell3 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=(484bf327257698a267ffc6684bed253b)
20 build() {
21   cd "$srcdir/$_pkgname-$pkgver"
22   find . -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
24   # Disable Unity
25   sed -i '/Dbusmenu/ d' client/Makefile.in
27   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
28               --disable-static --disable-schemas-compile --disable-unity
29   make
32 package() {
33   cd "$srcdir/$_pkgname-$pkgver"
35   make DESTDIR="$pkgdir" install