Want more features on Pastebin? Sign Up, it's FREE!
Guest

xfce4-places-plugin

By: a guest on Jan 20th, 2011  |  syntax: None  |  size: 1.26 KB  |  views: 78  |  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. # $Id: $
  2. # Maintainer: Allan McRae <allan@archlinux.org>
  3. # Contributor: Piotr Husiatynski <phusiatynski@gmail.com>
  4.  
  5. pkgname=xfce4-places-plugin
  6. pkgver=20110120
  7. pkgrel=1
  8. pkgdesc="Menu with quick access to folders, documents and removable media"
  9. arch=('i686' 'x86_64')
  10. url="http://goodies.xfce.org/projects/panel-plugins/xfce4-places-plugin"
  11. license=('GPL')
  12. depends=('xfce4-panel' 'thunar')
  13. makedepends=('perl-xml-simple' 'intltool' 'git')
  14. source=("http://bugzilla.xfce.org/attachment.cgi?id=3336")
  15. md5sums=('b18ddc9dd2791c9525b7ef796c821081')
  16. _gitroot="git://git.xfce.org/panel-plugins/xfce4-places-plugin"
  17. _gitname="xfce4-places-plugin"
  18.  
  19.  
  20. build()
  21. {
  22. #    cd ${srcdir}/${pkgname}-${pkgver}
  23.  
  24.   cd "$srcdir"
  25.   msg "Connecting to git.freedesktop.org GIT server...."
  26.  
  27.   if [ -d "$srcdir/$_gitname" ] ; then
  28.     cd $_gitname && git pull origin
  29.     msg "The local files are updated."
  30.    else
  31.     git clone $_gitroot
  32.   fi
  33.  
  34.   msg "GIT checkout done or server timeout"
  35.   msg "Starting make..."
  36.  
  37.   git clone $_gitname $_gitname-build
  38.   cd "$srcdir/$_gitname-build"
  39.  
  40.     patch -p1 -i patch -p1 -i ../attachment.cgi\?id\=3336
  41.     ./autogen.sh
  42.     ./configure --prefix=/usr --libexecdir=/usr/lib/xfce4
  43.     make || return 1
  44.     make DESTDIR=${pkgdir} install
  45. }
clone this paste RAW Paste Data