atom: update to 1.17.2-2 (fix desktop icon)

This commit is contained in:
Claudio Maggioni 2017-05-27 19:19:22 +02:00
parent 049af646e8
commit 76b5fe5100
2 changed files with 9 additions and 9 deletions

View file

@ -13,7 +13,7 @@ index 1969e3f..71c19ca 100644
-Exec=<%= installDir %>/share/<%= appFileName %>/atom %F
-Icon=<%= iconPath %>
+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
StartupNotify=true
Categories=GNOME;GTK;Utility;TextEditor;Development;

View file

@ -1,7 +1,7 @@
# Template file for 'atom'
pkgname=atom
version=1.17.2
revision=1
revision=2
nocross=yes
nostrip=yes
hostmakedepends="git pkg-config python-devel nodejs curl"
@ -16,12 +16,12 @@ checksum=bdde2b60e93f818976c28a0b6259d4636a695a2db9c832eeb186082744cd8f6b
only_for_archs="i686 x86_64"
pre_build() {
local NVM_VERSION=0.33.2
local NODE_VERSION=6
curl -o- https://raw.githubusercontent.com/creationix/nvm/v$NVM_VERSION/install.sh | bash
source $HOME/.nvm/nvm.sh
nvm install $NODE_VERSION
nvm use $NODE_VERSION
local NVM_VERSION=0.33.2
local NODE_VERSION=6
curl -o- https://raw.githubusercontent.com/creationix/nvm/v$NVM_VERSION/install.sh | bash
source $HOME/.nvm/nvm.sh
nvm install $NODE_VERSION
nvm use $NODE_VERSION
sed -e "s/<%= description %>/$pkgdesc/" \
-e "s|<%= appName %>|Atom|"\
@ -49,7 +49,7 @@ do_install() {
ls -lah
vcopy out/atom-$version-$targetarch/* usr/share/atom
vlicense LICENSE.md
ln -s /usr/share/atom/resources/app/apm/node_modules/.bin/apm "$DESTDIR/usr/bin/apm"
# remove useless static libs