mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 10:52:57 +02:00
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'
|
# Template file for 'atom'
|
||||||
pkgname=atom
|
pkgname=atom
|
||||||
version=1.11.2
|
version=1.17.0
|
||||||
revision=1
|
revision=1
|
||||||
nocross=yes
|
nocross=yes
|
||||||
nostrip=yes
|
nostrip=yes
|
||||||
hostmakedepends="git pkg-config python-devel nodejs git-perl"
|
hostmakedepends="git pkg-config python-devel nodejs curl"
|
||||||
makedepends="python-devel GConf-devel libgnome-keyring-devel"
|
makedepends="python-devel GConf-devel libgnome-keyring-devel libX11-devel libxkbfile-devel"
|
||||||
short_desc="Chrome-based text editor from Github"
|
short_desc="Chrome-based text editor from Github"
|
||||||
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://atom.io"
|
homepage="https://atom.io"
|
||||||
distfiles="https://github.com/$pkgname/$pkgname/archive/v$version.tar.gz"
|
distfiles="https://github.com/$pkgname/$pkgname/archive/v$version.tar.gz"
|
||||||
checksum=b7c09d03d950b0a6aca82225f072d9005d5681887e3a7c466b0504bf64d7c5cd
|
checksum=f9ccf2aa45b82bbf42a6a7fbbe5a3b7fdda99d76e77af8dee949fbcc419e94c6
|
||||||
|
|
||||||
only_for_archs="i686 x86_64"
|
only_for_archs="i686 x86_64"
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
sed -i -e "/exception-reporting/d" \
|
local NVM_VERSION=0.33.2
|
||||||
-e "/metrics/d" package.json
|
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/" \
|
sed -e "s/<%= description %>/$pkgdesc/" \
|
||||||
-e "s|<%= appName %>|Atom|"\
|
-e "s|<%= appName %>|Atom|"\
|
||||||
-e "s|<%= installDir %>/share/<%= appFileName %>|/usr/bin|"\
|
-e "s|<%= installDir %>/share/<%= appFileName %>|/usr/bin|"\
|
||||||
|
|
Loading…
Add table
Reference in a new issue