From 32b6ed4c05166e82adec93db73a61c80bdb62522 Mon Sep 17 00:00:00 2001 From: wertyi48 Date: Tue, 27 Aug 2013 19:34:51 -0300 Subject: [PATCH] sublime-text3: fix the path in the desktop entry file. --- srcpkgs/sublime-text3/template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srcpkgs/sublime-text3/template b/srcpkgs/sublime-text3/template index 797dff14716..6bde33c2290 100644 --- a/srcpkgs/sublime-text3/template +++ b/srcpkgs/sublime-text3/template @@ -1,7 +1,7 @@ # Template file for 'sublime-text3' pkgname=sublime-text3 version=3052 -revision=1 +revision=2 distfiles="http://c758482.r82.cf2.rackcdn.com/sublime_text_3_build_${version}_x64.tar.bz2" checksum="a41c05ac6541ac1397853a6d08877500fa39929619f7a400409ae3a066a1d44a" wrksrc="sublime_text_3" @@ -20,6 +20,7 @@ do_install() { vinstall "Icon/${size}x${size}/sublime-text.png" 644 "usr/share/icons/hicolor/${size}x${size}/apps/" done ln -s /usr/share/sublime_text/sublime_text ${DESTDIR}/usr/bin/subl3 + sed -i 's:Exec=/opt/sublime_text/:Exec=/usr/share/sublime_text/:' ${DESTDIR}/usr/share/applications/sublime_text.desktop } sublime-text3_package() {