1 # Maintainer: crazyelf5
3 pkgname=cinnamon-themes-git
6 pkgdesc="A collection of themes for Cinnamon"
8 url="https://github.com/linuxmint/cinnamon-themes"
12 optdepends=('cinnamon-settings-git: Change the themes from GUI [AUR]')
13 conflicts=('cinnamon-theme-eleganse')
15 _gitroot=git://github.com/linuxmint/cinnamon-themes.git
16 _gitname=cinnamon-themes
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"
32 install -dm755 "$pkgdir/usr/share/themes"
33 cd "$srcdir/cinnamon-themes"
34 find ./*/ -maxdepth 0 -type d -exec cp -r '{}' "$pkgdir/usr/share/themes" \;
37 # vim:set ts=2 sw=2 et: