Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

dockbarx-0.4.6.1-fixed-PKGBUILD

By: a guest on Aug 27th, 2011  |  syntax: Bash  |  size: 1.58 KB  |  views: 144  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Contributor: twa022 <twa022 at gmail dot com>
  2.  
  3. pkgname=dockbarx
  4. pkgver=0.46.1
  5. _pkgsubver=""
  6. pkgrel=1
  7. pkgdesc="GNOME TaskBar with groupping and group manipulation. Experimental version of GNOME Dockbar."
  8. arch=('i686' 'x86_64')
  9. url="https://launchpad.net/dockbar/dockbarx"
  10. license=('GPL3')
  11. depends=('python-wnck' 'python2' 'pyxdg' 'dbus-python' 'python2-numpy'
  12.          'python2-gconf' 'python-imaging' 'python-keybinder'
  13.          'hicolor-icon-theme' 'python-xlib')
  14. optdepends=('avant-window-navigator: to use the AWN Dockbar Plugin'
  15.             'zeitgeist: to have recently used file list'
  16.             'compiz-fusion-plugins-main: opacify plugin'
  17.             'dockmanager: dockmanager plugins')
  18. source=("http://launchpad.net/dockbar/${pkgname}/x.${pkgver}${_pkgsubver}/+download/${pkgname}_${pkgver}${_pkgsubver}.tar.gz" "dockbarx-awn-applet.patch")
  19.  
  20. build () {
  21.   cd ${srcdir}/${pkgname}_${pkgver}${_pkgsubver}
  22.   patch -p0 -i ${srcdir}/dockbarx-awn-applet.patch
  23.   python2 setup.py install --root ${pkgdir}
  24.  
  25.   mkdir -p ${pkgdir}/usr/share/avant-window-navigator/applets
  26.   cp -r AWN/* ${pkgdir}/usr/share/avant-window-navigator/applets
  27.  
  28.   mkdir -p ${pkgdir}/usr/share/pixmaps
  29.   install -Dm644 ${srcdir}/${pkgname}_${pkgver}${_pkgsubver}/icons/hicolor/128x128/apps/dockbarx.png ${pkgdir}/usr/share/pixmaps/dockbarx.png
  30.  
  31.   sed -i 's:^Categories=.*:Categories=Settings;DesktopSettings;GTK;:' ${pkgdir}/usr/share/applications/dbx_preference.desktop
  32.   sed -i 's:/usr/bin/python:&2:' ${pkgdir}/usr/bin/*
  33.  
  34. }
  35.  
  36. md5sums=('a71596d8540d79fe14fceefaed3a08b8' '3662f40920ccbb18fb8b348affbc8e2e')
clone this paste RAW Paste Data