1 # Maintainer: crazyelf5
3 pkgname=cinnamon-settings-git
6 pkgdesc="Cinnamon configuration tool"
8 url="https://github.com/linuxmint/cinnamon-settings"
10 depends=('cinnamon' 'python2' 'python2-gconf' 'python2-gobject2' 'pygtk')
13 _gitroot=git://github.com/linuxmint/cinnamon-settings.git
14 _gitname=cinnamon-settings
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 build..."
29 cp -r "$srcdir/cinnamon-settings/usr" "$pkgdir"
32 sed -e "s_env python_&2_;s_bin/python_&2_" \
33 -i `egrep -rl "(env python|bin/python)" .`
37 # vim:set ts=2 sw=2 et: