updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / gwibber-devel / PKGBUILD
blobf82e6a2fd0831b5d9264dea2fcd6e9b07d8f1593
1 # Maintainer: György Balló <ballogy@freestart.hu>
2 pkgname=gwibber-devel
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 (development release)"
7 arch=(i686 x86_64)
8 url="http://gwibber.com/"
9 license=(GPL)
10 depends=(libgee 'dee>=1.0.0' 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=('47a15990fb3b27bc1ef6b953b9b26022')
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