1 # Maintainer: Alessio Sergi <asergi at archlinux dot us>
3 pkgname=xfce4-places-plugin
6 pkgdesc="Places menu for the Xfce panel"
8 url="http://goodies.xfce.org/projects/panel-plugins/xfce4-places-plugin"
10 depends=('libnotify' 'libxfcegui4' 'xfce4-panel')
11 makedepends=('intltool' 'xfce4-dev-tools')
12 source=("http://archive.xfce.org/src/panel-plugins/${pkgname}/1.2/${pkgname}-${pkgver}.tar.bz2"
13 "01_port-to-exo-1.patch"
14 "02_use-preferred-filemanager.patch"
15 "03_port-to-gio.patch"
16 "04_fix-segfault.patch")
17 md5sums=('f2d8c13340b3d52c5a7f6e2b9cdc55e3'
18 '2090b5be8877b14526d125e15545414c'
19 '77b5da689f542f28e1c11663d3b85566'
20 '61da0537ebc4bc8dae3b8fa413428394'
21 'f678120c4070b58b66f29eabc7803888')
24 cd "${srcdir}/${pkgname}-${pkgver}"
26 patch -Np1 -i "${srcdir}/01_port-to-exo-1.patch"
27 patch -Np1 -i "${srcdir}/02_use-preferred-filemanager.patch"
28 patch -Np1 -i "${srcdir}/03_port-to-gio.patch"
29 patch -Np1 -i "${srcdir}/04_fix-segfault.patch"
31 export LDFLAGS="${LDFLAGS} -lX11"
33 NOCONFIGURE=1 xdt-autogen
34 ./configure --prefix=/usr --sysconfdir=/etc \
35 --libexecdir=/usr/lib \
36 --localstatedir=/var \
43 cd "${srcdir}/${pkgname}-${pkgver}"
45 make DESTDIR="${pkgdir}" install
48 # vim:set ts=2 sw=2 et: