updated on Wed Jan 25 00:20:47 UTC 2012
[aur-mirror.git] / file-browser-applet / PKGBUILD
blob4dedb86279b40e35da79a623c9460a173b3e2127
1 # Maintainer: Prasad
2 pkgname=file-browser-applet
3 pkgver=0.6.6
4 pkgrel=1
5 pkgdesc="An applet for the Gnome Panel"
6 arch=('i686' 'x86_64')
7 url="http://code.google.com/p/gnome-menu-file-browser-applet/"
8 license=("GPL")
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')
16 build() {
17   cd "$srcdir/$pkgname-$pkgver"
18   cmake -D CMAKE_INSTALL_PREFIX=/usr . || return 1
19   make || 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