6 pkgdesc="Linux desktop which provides advanced innovative features and a traditional user experience"
8 url="http://cinnamon.linuxmint.com/"
10 depends=('gnome-menus' 'libpulse' 'gnome-desktop' 'python' 'gnome-bluetooth' 'gjs' 'libcroco' 'folks' 'telepathy-logger' 'networkmanager' 'caribou' 'nautilus' 'telepathy-mission-control' 'gnome-common' 'gnome-session' 'accountsservice' 'libgnomekbd' 'gnome-settings-daemon' 'gnome-panel' 'notification-daemon' 'muffin-git' 'python2-gconf')
11 makedepends=('intltool')
13 conflicts=('cinnamon-git')
15 install=${pkgname}.install
16 source=('cinnamon.session'
18 'gnome-session-cinnamon')
22 wget -O cinnamon.tar.gz https://github.com/linuxmint/Cinnamon/tarball/$pkgver
23 tar xvf cinnamon.tar.gz
25 ./autogen.sh --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/cinnamon --localstatedir=/var --disable-static --disable-schemas-compile --disable-schemas-install --enable-compile-warnings=yes
32 make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}/" install
35 install -dm755 "${pkgdir}/usr/share/gconf/schemas/"
36 gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname%-*}.schemas" --domain cinnamon "${pkgdir}"/etc/gconf/schemas/*.schemas
37 rm "${pkgdir}"/etc/gconf/schemas/*.schemas
40 sed -i 's|^\(#!.*python\)$|\12|g' "${pkgdir}/usr/bin/cinnamon-extension-tool"
41 sed -i 's|^\(#!.*python\)$|\12|g' "${pkgdir}/usr/bin/cinnamon-settings"
42 sed -i 's|^\(#!.*python\)$|\12|g' "${pkgdir}/usr/lib/cinnamon-settings/cinnamon-settings.py"
44 # Install GNOME Session manager session file
45 install -dm755 "${pkgdir}/usr/share/gnome-session/sessions/"
46 install -m644 "${srcdir}/cinnamon.session" "${pkgdir}/usr/share/gnome-session/sessions/cinnamon.session"
48 # Install X11 session file
49 install -dm755 "${pkgdir}/usr/share/xsessions/"
50 install -m644 "${srcdir}/cinnamon.xsession" "${pkgdir}/usr/share/xsessions/cinnamon.desktop"
52 # Install Session Wrapper
53 install -m644 "${srcdir}/gnome-session-cinnamon" "${pkgdir}/usr/bin/gnome-session-cinnamon"
54 chmod +x ${pkgdir}/usr/bin/gnome-session-cinnamon
58 md5sums=('e55304f5859e17226658dc237044c17f'
59 '5d4e252efcb688406eadba5c93e29bff'
60 '106774e10707554ea49fc223a59e5d21')