This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

compiz-boxmenu 1.1.0

By: a guest on Dec 28th, 2011  |  syntax: Bash  |  size: 1.77 KB  |  views: 123  |  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: Julien MISCHKOWITZ <wain@archlinux.fr>
  2. # Contributor: Alessio Biancalana <dottorblaster@gmail.com>
  3. # Contributor: ShadowKyogre <shadowkyogre@aim.com>
  4.  
  5. pkgname=compiz-boxmenu
  6. pkgver=1.1.0
  7. pkgrel=1
  8. pkgdesc="A desktop menu for compiz, forked from compiz-deskmenu by crdlb. Introduces extensive icon support, pipeitems, recent documents list, and more"
  9. arch=('i686' 'x86_64')
  10. url="http://sourceforge.net/projects/compizboxmenu/"
  11. license=('GPL')
  12. depends=('dbus-glib' 'libwnck' 'pygtk' 'python-lxml' 'pyxdg')
  13. makedepends=('intltool' 'pkgconfig' 'gettext')
  14. provides=('compiz-boxmenu_no-dbus' 'compiz-deskmenu')
  15. conflicts=('compiz-boxmenu_no-dbus')
  16. install=$pkgname.install
  17. source=(http://master.dl.sourceforge.net/project/compizboxmenu/source%20snapshots/${pkgname}_-_${pkgver}.tar.gz)
  18. md5sums=('61138e2523f0dfcf14d623636244fd86')
  19.  
  20. #Depends for debian pkg:
  21. #packager="ShadowKyogre"
  22. #bugsurl="http://sourceforge.net/tracker/?group_id=378092&atid=1573593"
  23. #debdepends=('libwnck22' 'python-lxml' 'python-xdg' 'python-gtk2' 'libdbus-glib')
  24. #debconflicts=('compiz-boxmenu_no-dbus')
  25. #debprovides=('compiz-boxmenu_no-dbus' 'compiz-deskmenu')
  26. #debpostinst=$pkgname.install
  27. #PKGARCH=i686
  28. #end deps
  29.  
  30. build() {
  31.   cd ${srcdir}/${pkgname}
  32.   sed -i -e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' {compiz-boxmenu-editor,autoconfig-compiz.py}
  33.  
  34.   msg "Starting make..."
  35.   make || return 1
  36. }
  37.  
  38. package() {
  39.   cd ${srcdir}/${pkgname}
  40.   make DESTDIR=$pkgdir install || return 1
  41.   install -m 755 $srcdir/$pkgname/autoconfig-compiz.py $pkgdir/usr/bin/compiz-boxmenu-autoconfig || return 1
  42.   chmod 0644 $pkgdir/etc/xdg/compiz/boxmenu/menu.xml
  43.   chmod 0644 $pkgdir/etc/xdg/compiz/boxmenu/precache.ini
  44.   chmod 0644 $pkgdir/usr/share/dbus-1/services/org.compiz_fusion.boxmenu.service
  45. }
clone this paste RAW Paste Data