Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Contributor: Julien MISCHKOWITZ <wain@archlinux.fr>
- # Contributor: Alessio Biancalana <dottorblaster@gmail.com>
- pkgname=compiz-deskmenu
- pkgver=20101108
- pkgrel=1
- pkgdesc="Compiz Fusion deskmenu plugin"
- arch=('i686' 'x86_64')
- url="http://opencompositing.org"
- license=('GPL')
- depends=('dbus-glib' 'libwnck' 'python-lxml' 'pyxdg' )
- makedepends=('git' 'intltool' 'pkgconfig' 'gettext')
- install=$pkgname.install
- source=(fix_commands.patch)
- md5sums=('fe9596724639a46184874ccf5041a929')
- _gitroot="git://git.compiz-fusion.org/users/crdlb/compiz-deskmenu"
- _gitname="compiz-deskmenu"
- build() {
- msg "Connecting to opencompositing.org GIT server...."
- if [[ -d $startdir/src/$_gitname ]] ; then
- cd $_gitname
- git pull origin || return 1
- msg "The local files are updated."
- else
- git clone $_gitroot || return 1
- cd $_gitname
- fi
- msg "GIT checkout done"
- patch -Np1 -i $srcdir/fix_commands.patch
- msg "Patching how it launches commands..."
- msg "Starting make..."
- sed -i -e 's/env python/env python2/g' compiz-deskmenu-editor
- make || return 1
- make DESTDIR=$startdir/pkg install || return 1
- install -m 755 $startdir/src/$_gitname/autoconfig-compiz.py $pkgdir/usr/bin/compiz-deskmenu-autoconfig || return 1
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement