1 # Contributor: mathieui <mathieui[@]mathieui.net>
5 pkgdesc="Gstyle is a theme manager for gnome/gtk/compiz"
7 url="http://www.penguincape.org/"
9 depends=('python' 'gnome-python-desktop-all' 'gnome-python-extras' 'xcur2png')
12 install=('gstyle.install')
14 _gitroot="git://github.com/smolleyes/gstyle.git"
19 msg "Connecting to GIT server...."
21 if [ -d $_gitname ] ; then
22 cd $_gitname && git pull origin
23 msg "The local files are updated."
25 git clone $_gitroot $_gitname
28 msg "GIT checkout done or server timeout"
29 msg "Starting make..."
31 rm -rf "$srcdir/$_gitname-build"
32 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
33 cd "$srcdir/$_gitname-build/src"
38 mkdir -p $pkgdir/usr/share/gstyle/
39 mkdir -p $pkgdir/usr/bin/
42 ln -s /usr/bin/xcur2png ./lib/bin/xcur2png || return 1
43 cp -Ra ./* $pkgdir/usr/share/gstyle
44 cp gstyle $pkgdir/usr/bin/