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

Updated PKGBUILD with patch details included

By: a guest on Oct 6th, 2010  |  syntax: Bash  |  size: 1.12 KB  |  views: 72  |  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. pkgname=compiz-deskmenu
  3. pkgver=20101006
  4. pkgrel=1
  5. pkgdesc="Compiz Fusion deskmenu plugin"
  6. arch=('i686' 'x86_64')
  7. url="http://opencompositing.org"
  8. license=('GPL')
  9. depends=('dbus-glib' 'libwnck' 'python-lxml' 'pyxdg' )
  10. makedepends=('git' 'intltool' 'pkgconfig' 'gettext')
  11. install=$pkgname.install
  12. source=(fix_commands.patch)
  13. md5sums=('6aec4c180b3c2f918da3cb3fbc982f8b')
  14.  
  15. _gitroot="git://git.compiz-fusion.org/users/crdlb/compiz-deskmenu"
  16. _gitname="compiz-deskmenu"
  17.  
  18. build() {
  19.   msg "Connecting to opencompositing.org GIT server...."
  20.  
  21.   if [[ -d $startdir/src/$_gitname ]] ; then
  22.     cd $_gitname
  23.     git pull origin || return 1
  24.     msg "The local files are updated."
  25.   else
  26.     git clone $_gitroot || return 1
  27.     cd $_gitname
  28.   fi
  29.  
  30.   msg "GIT checkout done"
  31.  
  32.   patch -p 1 -i $srcdir/fix_commands.patch
  33.   msg "Patching how it launches commands..."
  34.  
  35.   msg "Starting make..."
  36.  
  37.   make || return 1
  38.   make DESTDIR=$startdir/pkg install || return 1
  39.   install -m 755 $startdir/src/$_gitname/autoconfig-compiz.py $pkgdir/usr/bin/compiz-deskmenu-autoconfig
  40. }
clone this paste RAW Paste Data