atom: update to 1.17.0.
This commit is contained in:
parent
9bb128bf68
commit
0ad4173aa1
1 changed files with 11 additions and 6 deletions
|
@ -1,23 +1,28 @@
|
|||
# Template file for 'atom'
|
||||
pkgname=atom
|
||||
version=1.11.2
|
||||
version=1.17.0
|
||||
revision=1
|
||||
nocross=yes
|
||||
nostrip=yes
|
||||
hostmakedepends="git pkg-config python-devel nodejs git-perl"
|
||||
makedepends="python-devel GConf-devel libgnome-keyring-devel"
|
||||
hostmakedepends="git pkg-config python-devel nodejs curl"
|
||||
makedepends="python-devel GConf-devel libgnome-keyring-devel libX11-devel libxkbfile-devel"
|
||||
short_desc="Chrome-based text editor from Github"
|
||||
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
||||
license="MIT"
|
||||
homepage="https://atom.io"
|
||||
distfiles="https://github.com/$pkgname/$pkgname/archive/v$version.tar.gz"
|
||||
checksum=b7c09d03d950b0a6aca82225f072d9005d5681887e3a7c466b0504bf64d7c5cd
|
||||
checksum=f9ccf2aa45b82bbf42a6a7fbbe5a3b7fdda99d76e77af8dee949fbcc419e94c6
|
||||
|
||||
only_for_archs="i686 x86_64"
|
||||
|
||||
pre_build() {
|
||||
sed -i -e "/exception-reporting/d" \
|
||||
-e "/metrics/d" package.json
|
||||
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|"\
|
||||
-e "s|<%= installDir %>/share/<%= appFileName %>|/usr/bin|"\
|
||||
|
|
Loading…
Add table
Reference in a new issue