diff options
Diffstat (limited to 'community/avant-window-navigator/PKGBUILD')
-rw-r--r-- | community/avant-window-navigator/PKGBUILD | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/community/avant-window-navigator/PKGBUILD b/community/avant-window-navigator/PKGBUILD deleted file mode 100644 index 0208571dd..000000000 --- a/community/avant-window-navigator/PKGBUILD +++ /dev/null @@ -1,58 +0,0 @@ -# $Id: PKGBUILD 30927 2010-10-23 16:23:21Z schuay $ -# Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> -# Contributor: Timm Preetz <timm@preetz.us> -# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us> - -pkgname=avant-window-navigator -pkgver=0.4.0 -pkgrel=10 -pkgdesc="Fully customisable dock-like window navigator for GNOME" -arch=('i686' 'x86_64') -url="https://launchpad.net/awn" -license=('GPL') -# bzr needs to be in depends: see FS#21434 -depends=('libwnck' 'gconf' 'python2' 'hicolor-icon-theme' 'pyxdg' 'libgtop' \ - 'python-feedparser' 'xdg-utils' 'libdesktop-agnostic' 'dbus-python' 'bzr') -makedepends=('intltool' 'gnome-doc-utils' 'vala') -install=${pkgname}.install -options=('!libtool') -source=(https://edge.launchpad.net/awn/0.4/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz - 'awn-applet-simple.patch') -md5sums=('03654b45dd95cbb83fa7e112bd00523c' - 'abd1200504e6a4a8961a3fe0a4a99363') - -build() { - cd ${srcdir}/${pkgname}-${pkgver} - - # FS#19084 - patch -p0 < ${srcdir}/awn-applet-simple.patch - - PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/usr/share - - sed -i 's|${prefix}/etc|${prefix}/share|' Makefile - - str='\(.*"theme_tooltip_outline_color".*\)' - sed -i "s|$str|#\1|" awn-settings/awnSettings.py - - # python2 fix - sed -i 's_with ("python"_with ("python2"_' applet-activation/main.c - for file in $(find . -name '*.py' -print); do - sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file - sed -i 's_#!/usr/bin/python_#!/usr/bin/python2_' $file - done - - make -} - -package() { - cd ${srcdir}/${pkgname}-${pkgver} - - make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR=${pkgdir} install - - gconf-merge-schema "$pkgdir/usr/share/gconf/awn.schemas" \ - "$pkgdir"/usr/share/gconf/schemas/*.schemas - - rm "$pkgdir"/usr/share/gconf/schemas/*.schemas - mv "$pkgdir"/usr/share/gconf/{,schemas/}awn.schemas -} -# vim:set ts=2 sw=2 et: |