Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # $Id: $
- # Maintainer: Allan McRae <allan@archlinux.org>
- # Contributor: Piotr Husiatynski <phusiatynski@gmail.com>
- pkgname=xfce4-places-plugin
- pkgver=20110120
- pkgrel=1
- pkgdesc="Menu with quick access to folders, documents and removable media"
- arch=('i686' 'x86_64')
- url="http://goodies.xfce.org/projects/panel-plugins/xfce4-places-plugin"
- license=('GPL')
- depends=('xfce4-panel' 'thunar')
- makedepends=('perl-xml-simple' 'intltool' 'git')
- source=("http://bugzilla.xfce.org/attachment.cgi?id=3336")
- md5sums=('b18ddc9dd2791c9525b7ef796c821081')
- _gitroot="git://git.xfce.org/panel-plugins/xfce4-places-plugin"
- _gitname="xfce4-places-plugin"
- build()
- {
- # cd ${srcdir}/${pkgname}-${pkgver}
- cd "$srcdir"
- msg "Connecting to git.freedesktop.org GIT server...."
- if [ -d "$srcdir/$_gitname" ] ; then
- cd $_gitname && git pull origin
- msg "The local files are updated."
- else
- git clone $_gitroot
- fi
- msg "GIT checkout done or server timeout"
- msg "Starting make..."
- git clone $_gitname $_gitname-build
- cd "$srcdir/$_gitname-build"
- patch -p1 -i patch -p1 -i ../attachment.cgi\?id\=3336
- ./autogen.sh
- ./configure --prefix=/usr --libexecdir=/usr/lib/xfce4
- make || return 1
- make DESTDIR=${pkgdir} install
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement