1 # Maintainer: Alex Anthony <alex.anthony28991@googlemail.com>
3 pkgname=moblin-menus-git
7 pkgdesc="A load of desktop files and a menu structure for moblin"
9 url="http://www.moblin.org"
11 depends=('gnome-menus')
15 _gitroot=git://git.moblin.org/${_pkgname}
20 msg "Connecting to moblin.org git server...."
21 rm -rf $startdir/src/$_gitname-build
23 if [[ -d $_gitname ]]; then
24 cd $_gitname || return 1
25 git pull origin || return 1
27 git clone $_gitroot $_gitname || return 1
30 cd $srcdir || return 1
31 cp -r $_gitname $_gitname-build
33 cd $_gitname-build || return 1
35 ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var || return 1
37 make DESTDIR=$pkgdir install || return 1
38 rm $pkgdir/etc/xdg/menus/applications.menu
39 rm $pkgdir/etc/xdg/menus/settings.menu
40 # Merge gconf schemas in a single file
41 # install -d m755 $pkgdir/usr/share/gconf/schemas || return 1
42 # gconf-merge-schema $pkgdir/usr/share/gconf/schemas/epiphany.schemas
43 # $pkgdir/etc/gconf/schemas/*.schemas || return 1