From 0639362f752ee63f061eb84bb38dd1e5fb550a5c Mon Sep 17 00:00:00 2001 From: Andrea Brancaleoni Date: Fri, 24 Apr 2015 15:55:36 +0200 Subject: [PATCH] atom: fix .desktop file --- srcpkgs/atom/patches/desktop.patch | 20 ++++++++++++++++++++ srcpkgs/atom/template | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/atom/patches/desktop.patch diff --git a/srcpkgs/atom/patches/desktop.patch b/srcpkgs/atom/patches/desktop.patch new file mode 100644 index 0000000000..d87460f66a --- /dev/null +++ b/srcpkgs/atom/patches/desktop.patch @@ -0,0 +1,20 @@ +--- + resources/linux/atom.desktop.in | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git resources/linux/atom.desktop.in resources/linux/atom.desktop.in +index 1969e3f..71c19ca 100644 +--- resources/linux/atom.desktop.in ++++ resources/linux/atom.desktop.in +@@ -2,8 +2,8 @@ + Name=Atom + Comment=<%= description %> + GenericName=Text Editor +-Exec=<%= executable %> %U +-Icon=<%= iconName %> ++Exec=/usr/share/atom/atom %U ++Icon=/usr/share/atom/resources/app/resources/atom.png + Type=Application + StartupNotify=true + Categories=GNOME;GTK;Utility;TextEditor;Development; +-- diff --git a/srcpkgs/atom/template b/srcpkgs/atom/template index a8fa2cc0a2..b50786af23 100644 --- a/srcpkgs/atom/template +++ b/srcpkgs/atom/template @@ -1,7 +1,7 @@ # Template file for 'atom' pkgname=atom version=0.193.0 -revision=1 +revision=2 hostmakedepends="git nodejs pkg-config python-devel" makedepends="python-devel GConf-devel libgnome-keyring-devel" short_desc="Chrome-based text editor from Github"