1 # Maintainer: Xiao-Long Chen <chenxiaolong@cxl.epac.to>
6 pkgdesc="Linux desktop which provides advanced innovative features and a traditional user experience"
8 url="https://github.com/linuxmint/Cinnamon"
10 depends=('gnome-menus' 'libpulse' 'gnome-desktop' 'python' 'gnome-bluetooth' 'gjs' 'libcroco' 'folks' 'telepathy-logger' 'networkmanager' 'caribou' 'nautilus' 'gnome-session' 'muffin-git' 'cinnamon-session-git')
11 makedepends=('git' 'intltool' 'gnome-common')
12 optdepends=('cinnamon-applets-git: Applets for Cinnamon')
14 conflicts=('cinnamon')
16 install=${pkgname}.install
18 _gitroot='https://github.com/linuxmint/Cinnamon.git'
23 msg "Connecting to GIT server...."
25 if [[ -d "${_gitname}" ]]; then
26 cd "${_gitname}" && git pull origin
27 msg "The local files are updated."
29 git clone "${_gitroot}" "${_gitname}"
32 msg "GIT checkout done or server timeout"
33 msg "Starting build..."
35 rm -rf "${srcdir}/${_gitname}-build"
36 git clone "${srcdir}/${_gitname}" "${srcdir}/${_gitname}-build"
37 cd "${srcdir}/${_gitname}-build"
39 ./autogen.sh --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/cinnamon --localstatedir=/var --disable-static --disable-schemas-compile --disable-schemas-install --enable-compile-warnings=yes
44 cd "${srcdir}/${_gitname}-build"
45 make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}/" install
48 install -dm755 "${pkgdir}/usr/share/gconf/schemas/"
49 gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname%-*}.schemas" --domain cinnamon "${pkgdir}"/etc/gconf/schemas/*.schemas
50 rm "${pkgdir}"/etc/gconf/schemas/*.schemas
53 sed -i 's|^\(#!.*python\)$|\12|g' "${pkgdir}/usr/bin/cinnamon-extension-tool"
56 # vim:set ts=2 sw=2 et: