1 # Maintainer: crazyelf5
3 pkgname=cinnamon-extensions-git
6 pkgdesc="Cinnamon extensions"
8 url="https://github.com/linuxmint/cinnamon-extensions"
10 depends=('cinnamon' 'gtk3' 'dconf')
12 optdepends=('cinnamon-settings-git: Enable extensions the easy way [AUR]')
13 install=$pkgname.install
15 _gitroot=git://github.com/linuxmint/cinnamon-extensions.git
16 _gitname=cinnamon-extensions
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 build..."
31 find . -type d -name "usr" -exec cp -rf '{}' "$pkgdir/" \;
33 sed -i 's|/usr/bin/env python|/usr/bin/env python2|' "$pkgdir/usr/bin/cinnamon-weather-extension-config"
36 # vim:set ts=2 sw=2 et: