1 # Maintainer: Andrea Scarpino <andrea@archlinux.org>
3 pkgname=meego-cursor-theme-git
6 pkgdesc="MeeGo X cursors icon theme"
12 makedepends=('git' 'xorg-xcursorgen')
13 provides=('meego-cursor-theme')
14 conflicts=('meego-cursor-theme')
16 _gitroot="git://gitorious.org/meego-netbook-ux/meego-cursor-theme.git"
17 _gitname="meego-cursor-theme"
21 msg "Connecting to GIT server...."
23 if [ -d $_gitname ] ; then
24 cd $_gitname && git pull origin
25 msg "The local files are updated."
27 git clone $_gitroot $_gitname
30 msg "GIT checkout done or server timeout"
31 msg "Starting make..."
33 rm -rf "$srcdir/$_gitname-build"
34 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
35 cd "$srcdir/$_gitname-build"
42 cd "$srcdir/$_gitname-build"
44 install -d ${pkgdir}/usr/share/icons/meego
45 cp -r xcursors ${pkgdir}/usr/share/icons/meego/cursors