parent
3a92b6bb97
commit
365039ac9f
2 changed files with 18 additions and 2 deletions
13
srcpkgs/atom/patches/desktop.patch
Normal file
13
srcpkgs/atom/patches/desktop.patch
Normal file
|
@ -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;
|
|
@ -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 <wpb@360scada.com>"
|
|||
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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue