summaryrefslogtreecommitdiff
path: root/community/cinnamon
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-03-11 00:04:02 -0700
committerroot <root@rshg054.dnsready.net>2013-03-11 00:04:02 -0700
commitef17357a9745e05e301b724d13a341067ddb3d5b (patch)
tree676472a92698122808799ec6539e332e4cbb9ce4 /community/cinnamon
parent6ee08d6a9217906f2ef84f70923d3d362d4b40ad (diff)
Mon Mar 11 00:04:02 PDT 2013
Diffstat (limited to 'community/cinnamon')
-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" \