From 365039ac9fde6622919abbd66e7fbfae41d40dcf Mon Sep 17 00:00:00 2001 From: Wilson Birney Date: Sat, 6 Jan 2018 16:00:54 -0500 Subject: [PATCH] atom: update to 1.23.2 Closes: #10534 [via git-merge-pr] --- srcpkgs/atom/patches/desktop.patch | 13 +++++++++++++ srcpkgs/atom/template | 7 +++++-- 2 files changed, 18 insertions(+), 2 deletions(-) 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..99c3fb43f1 --- /dev/null +++ b/srcpkgs/atom/patches/desktop.patch @@ -0,0 +1,13 @@ +--- resources/linux/atom.desktop.in ++++ resources/linux/atom.desktop.in +@@ -2,8 +2,8 @@ + Name=<%= appName %> + Comment=<%= description %> + GenericName=Text Editor +-Exec=<%= installDir %>/share/<%= appFileName %>/atom %F +-Icon=<%= iconPath %> ++Exec=/usr/share/atom/atom %U ++Icon=/usr/share/atom/atom.png + Type=Application + StartupNotify=true + Categories=GNOME;GTK;Utility;TextEditor;Development; diff --git a/srcpkgs/atom/template b/srcpkgs/atom/template index 3459869966..394d2a2ea7 100644 --- a/srcpkgs/atom/template +++ b/srcpkgs/atom/template @@ -1,6 +1,6 @@ # Template file for 'atom' pkgname=atom -version=1.23.1 +version=1.23.2 revision=1 nocross=yes nostrip=yes @@ -11,10 +11,13 @@ maintainer="Wilson Birney " license="MIT" homepage="https://atom.io" distfiles="https://github.com/atom/atom/archive/v${version}.tar.gz" -checksum=56147093f1b8fd98e1cdf9671888694b732ed6b83f7641c199ddbc54df76544f +checksum=d814b179cdd816faf832ef4da2e4b5deaa03c3ad9b22291972f72837bde525a3 only_for_archs="i686 x86_64" do_install() { + if [ -e ./apm/package-lock.json ]; then + rm ./apm/package-lock.json + fi script/build --install=$DESTDIR/usr vlicense LICENSE.md }