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 conflicts=('cinnamon-theme-eleganse')
14 _gitroot=git://github.com/linuxmint/cinnamon-themes.git
15 _gitname=cinnamon-themes
18 msg "Connecting to GIT server...."
20 if [[ -d "$_gitname" ]]; then
21 cd "$_gitname" && git pull origin
22 msg "The local files are updated."
24 git clone "$_gitroot" "$_gitname"
27 msg "GIT checkout done or server timeout"
28 msg "Starting build..."
30 install -dm755 "$pkgdir/usr/share/themes"
31 cd "$srcdir/cinnamon-themes"
32 find ./*/ -maxdepth 0 -type d -exec cp -r '{}' "$pkgdir/usr/share/themes" \;
35 # vim:set ts=2 sw=2 et: