1 # Maintainer: György Balló <ballogy@freestart.hu>
2 # Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
3 # Contributor: Timm Preetz <timm@preetz.us>
4 # Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
6 pkgname=avant-window-navigator
9 pkgdesc="Fully customisable dock-like window navigator for GNOME"
10 arch=('i686' 'x86_64')
11 url="https://launchpad.net/awn"
13 depends=('libdesktop-agnostic' 'libxcomposite' 'libwnck' 'libgtop' 'gconf' 'bzr' 'dbus-python' 'pyxdg' 'hicolor-icon-theme' 'xdg-utils')
14 makedepends=('gtk-doc' 'vala' 'intltool')
16 install=$pkgname.install
17 source=(http://launchpad.net/awn/0.4/$pkgver/+download/$pkgname-$pkgver.tar.gz
19 fix-unitialized-pointer.patch)
20 md5sums=('03654b45dd95cbb83fa7e112bd00523c'
21 '25aa951e36b17ba2471c18afb7ba4acb'
22 '2e53c76a28a49f793f92b673e4f56539')
25 cd $srcdir/$pkgname-$pkgver
27 patch -Np1 -i "$srcdir/fix-dso-linking.patch"
29 patch -Np0 -i "$srcdir/fix-unitialized-pointer.patch"
32 sed -i 's@^#!.*python$@#!/usr/bin/python2@' awn-settings/{awnSettings.py.in,awnSettingsHelper.py}
33 sed -i 's/with ("python"/with ("python2"/' applet-activation/main.c
35 ./configure --prefix=/usr --sysconfdir=/usr/share \
36 --disable-static --enable-gtk-doc \
37 PYTHON=/usr/bin/python2
42 cd $srcdir/$pkgname-$pkgver
44 make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="$pkgdir" install
46 gconf-merge-schema "$srcdir/awn.schemas" "$pkgdir"/usr/share/gconf/schemas/*.schemas
47 rm "$pkgdir"/usr/share/gconf/schemas/*.schemas
48 install "$srcdir/awn.schemas" "$pkgdir"/usr/share/gconf/schemas/awn.schemas