summaryrefslogtreecommitdiff
path: root/community/nemo
diff options
context:
space:
mode:
Diffstat (limited to 'community/nemo')
-rw-r--r--community/nemo/PKGBUILD15
1 files changed, 13 insertions, 2 deletions
diff --git a/community/nemo/PKGBUILD b/community/nemo/PKGBUILD
index 5c3cab47f..8e04eb820 100644
--- a/community/nemo/PKGBUILD
+++ b/community/nemo/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 94000 2013-07-12 22:37:49Z faidoc $
+# $Id: PKGBUILD 95581 2013-08-14 15:07:17Z bgyorgy $
# Maintainer: Alexandre Filgueira <alexfilgueira@cinnarch.com>
# Contributor: Ner0
pkgname=nemo
pkgver=1.8.4
-pkgrel=1
+pkgrel=3
pkgdesc="Cinnamon file manager (Nautilus fork)"
arch=('i686' 'x86_64')
url="https://github.com/linuxmint/nemo"
@@ -48,4 +48,15 @@ package() {
cd linuxmint-nemo-*
make DESTDIR="$pkgdir/" install
+
+ # Rename 'Files' app name to avoid having the same as nautilus
+ sed -i 's/^Name\(.*\)=.*/Name\1=Nemo/' "$pkgdir/usr/share/applications/nemo.desktop"
+
+ # Autostart only in Cinnamon to avoid conflict with GNOME Classic session
+ cp "$pkgdir/etc/xdg/autostart/nemo-autostart.desktop" \
+ "$pkgdir/etc/xdg/autostart/nemo-autostart2d.desktop"
+ sed -i 's/^AutostartCondition=.*/AutostartCondition=GNOME3 if-session cinnamon/' \
+ "$pkgdir/etc/xdg/autostart/nemo-autostart.desktop"
+ sed -i 's/^AutostartCondition=.*/AutostartCondition=GNOME3 if-session cinnamon2d/' \
+ "$pkgdir/etc/xdg/autostart/nemo-autostart2d.desktop"
}