summaryrefslogtreecommitdiff
path: root/community/cinnamon/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/cinnamon/PKGBUILD')
-rw-r--r--community/cinnamon/PKGBUILD15
1 files changed, 13 insertions, 2 deletions
diff --git a/community/cinnamon/PKGBUILD b/community/cinnamon/PKGBUILD
index 9f6dd5dab..2e6f950a5 100644
--- a/community/cinnamon/PKGBUILD
+++ b/community/cinnamon/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 85928 2013-03-09 00:52:51Z faidoc $
+# $Id: PKGBUILD 85957 2013-03-10 08:53:34Z bgyorgy $
# Maintainer: Alexandre Filgueira <alexfilgueira@cinnarch.com>
# Contributor: M0Rf30
# Contributor: unifiedlinux
@@ -6,7 +6,7 @@
pkgname=cinnamon
pkgver=1.7.2
-pkgrel=1
+pkgrel=2
pkgdesc="Linux desktop which provides advanced innovative features and a traditional user experience"
arch=('i686' 'x86_64')
url="http://cinnamon.linuxmint.com/"
@@ -64,6 +64,17 @@ package() {
cd ${srcdir}/linuxmint-Cinnamon*
make DESTDIR="${pkgdir}" install
+ # Install autostart files for gnome-fallback-mount-helper
+ install -Dm644 /etc/xdg/autostart/gnome-fallback-mount-helper.desktop \
+ "${pkgdir}/etc/xdg/autostart/gnome-fallback-mount-helper-cinnamon.desktop"
+ sed -i 's/^AutostartCondition=.*/AutostartCondition=GNOME3 if-session cinnamon/' \
+ "${pkgdir}/etc/xdg/autostart/gnome-fallback-mount-helper-cinnamon.desktop"
+
+ install -Dm644 /etc/xdg/autostart/gnome-fallback-mount-helper.desktop \
+ "${pkgdir}/etc/xdg/autostart/gnome-fallback-mount-helper-cinnamon2d.desktop"
+ sed -i 's/^AutostartCondition=.*/AutostartCondition=GNOME3 if-session cinnamon2d/' \
+ "${pkgdir}/etc/xdg/autostart/gnome-fallback-mount-helper-cinnamon2d.desktop"
+
# Python2 fix
sed -i 's|#! /usr/bin/python|#! /usr/bin/python2|' \
"${pkgdir}/usr/bin/$pkgname-menu-editor" \