1 # Maintainer: Andrea Scarpino <andrea@archlinux.org>
6 pkgdesc="A generic X session launch utility for MeeGo"
11 depends=('consolekit' 'xdg-user-dirs')
14 conflicts=('uxlaunch')
15 source=('startmeego.sh' 'arch-meego.desktop' 'meego.path')
16 md5sums=('72628960e726038a8ca645366c102671'
17 '9ce24925123f37dc39ed101b376b6bbc'
18 '9c8290a6eef34738eb7e0a5b28be7504')
20 _gitroot="git://gitorious.org/meego-os-base/uxlaunch.git"
25 msg "Connecting to GIT server...."
27 if [ -d $_gitname ] ; then
28 cd $_gitname && git pull origin
29 msg "The local files are updated."
31 git clone $_gitroot $_gitname
34 msg "GIT checkout done or server timeout"
35 msg "Starting make..."
37 rm -rf "$srcdir/$_gitname-build"
38 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
39 cd "$srcdir/$_gitname-build"
41 ./configure --prefix=/usr
42 make mutterlibexedir=/usr/lib/mutter
46 cd "$srcdir/$_gitname-build"
47 make DESTDIR="$pkgdir/" install
49 install -Dm644 ${srcdir}/meego.path \
50 ${pkgdir}/etc/gconf/2/meego.path
51 install -d ${pkgdir}/etc/gconf/gconf.xml.meego
53 install -Dm644 ${srcdir}/arch-meego.desktop \
54 ${pkgdir}/usr/share/xsessions/arch-meego.desktop
55 install -Dm755 ${srcdir}/startmeego.sh \
56 ${pkgdir}/usr/bin/startmeego
58 install -d ${pkgdir}/var/log
59 touch ${pkgdir}/var/log/uxlaunch.log