atom: update to 1.17.2-2 (fix desktop icon)
This commit is contained in:
parent
049af646e8
commit
76b5fe5100
@ -13,7 +13,7 @@ index 1969e3f..71c19ca 100644
|
|||||||
-Exec=<%= installDir %>/share/<%= appFileName %>/atom %F
|
-Exec=<%= installDir %>/share/<%= appFileName %>/atom %F
|
||||||
-Icon=<%= iconPath %>
|
-Icon=<%= iconPath %>
|
||||||
+Exec=/usr/share/atom/atom %U
|
+Exec=/usr/share/atom/atom %U
|
||||||
+Icon=/usr/share/atom/resources/app.asar.unpacked/resources/atom.png
|
+Icon=/usr/share/atom/resources/app/resources/atom.png
|
||||||
Type=Application
|
Type=Application
|
||||||
StartupNotify=true
|
StartupNotify=true
|
||||||
Categories=GNOME;GTK;Utility;TextEditor;Development;
|
Categories=GNOME;GTK;Utility;TextEditor;Development;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# Template file for 'atom'
|
# Template file for 'atom'
|
||||||
pkgname=atom
|
pkgname=atom
|
||||||
version=1.17.2
|
version=1.17.2
|
||||||
revision=1
|
revision=2
|
||||||
nocross=yes
|
nocross=yes
|
||||||
nostrip=yes
|
nostrip=yes
|
||||||
hostmakedepends="git pkg-config python-devel nodejs curl"
|
hostmakedepends="git pkg-config python-devel nodejs curl"
|
||||||
@ -16,12 +16,12 @@ checksum=bdde2b60e93f818976c28a0b6259d4636a695a2db9c832eeb186082744cd8f6b
|
|||||||
only_for_archs="i686 x86_64"
|
only_for_archs="i686 x86_64"
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
local NVM_VERSION=0.33.2
|
local NVM_VERSION=0.33.2
|
||||||
local NODE_VERSION=6
|
local NODE_VERSION=6
|
||||||
curl -o- https://raw.githubusercontent.com/creationix/nvm/v$NVM_VERSION/install.sh | bash
|
curl -o- https://raw.githubusercontent.com/creationix/nvm/v$NVM_VERSION/install.sh | bash
|
||||||
source $HOME/.nvm/nvm.sh
|
source $HOME/.nvm/nvm.sh
|
||||||
nvm install $NODE_VERSION
|
nvm install $NODE_VERSION
|
||||||
nvm use $NODE_VERSION
|
nvm use $NODE_VERSION
|
||||||
|
|
||||||
sed -e "s/<%= description %>/$pkgdesc/" \
|
sed -e "s/<%= description %>/$pkgdesc/" \
|
||||||
-e "s|<%= appName %>|Atom|"\
|
-e "s|<%= appName %>|Atom|"\
|
||||||
|
Loading…
x
Reference in New Issue
Block a user