Advertisement
Guest User

Updated PKGBUILD with patch details included

a guest
Oct 6th, 2010
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.12 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement