2 pkgname=file-browser-applet
5 pkgdesc="An applet for the Gnome Panel"
7 url="http://code.google.com/p/gnome-menu-file-browser-applet/"
9 depends=('gnome-panel')
10 optdepends=('gtkhotkey')
11 makedepends=('cmake' 'pkgconfig')
12 replaces=('menu-file-browser-applet')
13 source=(http://gnome-menu-file-browser-applet.googlecode.com/files/$pkgname-$pkgver.tar.gz)
14 md5sums=('7a3eabb266185156731f184e68506dae')
17 cd "$srcdir/$pkgname-$pkgver"
18 cmake -D CMAKE_INSTALL_PREFIX=/usr . || return 1
20 make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="$pkgdir/" install || return 1
22 install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
23 gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" ${pkgdir}/etc/gconf/schemas/*.schemas
24 rm -f ${pkgdir}/etc/gconf/schemas/*.schemas