1 # Maintainer: Thomas Krug <phragment@lavabit.com>
2 pkgname=gtk-theme-fear-git
5 pkgdesc="Matching GTK2 and GTK3 themes"
7 url="http://github.com/schuschu/fear"
9 depends=('gtk-engine-murrine' 'gtk-engine-unico')
12 _gitroot="git://github.com/schuschu/fear.git"
17 msg "Connecting to GIT server...."
19 if [ -d $_gitname ] ; then
20 cd $_gitname && git pull origin
21 msg "The local files are updated."
23 git clone $_gitroot $_gitname
26 msg "GIT checkout done or server timeout"
27 msg "Starting make..."
29 rm -rf "$srcdir/$_gitname-build"
30 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
31 cd "$srcdir/$_gitname-build"
37 cd "$srcdir/$_gitname-build"
39 mkdir -p ${pkgdir}/usr/share/themes/
40 cp -r Fear/ ${pkgdir}/usr/share/themes/