Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
fc016a2f
Commit
fc016a2f
authored
Sep 16, 2018
by
James Larrowe
Committed by
Ed Reel
Sep 16, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated nano (#2673)
parent
4b96c1aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
15 deletions
+5
-15
packages/nano.rb
packages/nano.rb
+5
-15
No files found.
packages/nano.rb
View file @
fc016a2f
...
@@ -3,21 +3,13 @@ require 'package'
...
@@ -3,21 +3,13 @@ require 'package'
class
Nano
<
Package
class
Nano
<
Package
description
'Nano\'s ANOther editor, an enhanced free Pico clone.'
description
'Nano\'s ANOther editor, an enhanced free Pico clone.'
homepage
'https://www.nano-editor.org/'
homepage
'https://www.nano-editor.org/'
version
'
2.9.5
'
version
'
3.0
'
source_url
'https://www.nano-editor.org/dist/v
2.9/nano-2.9.5
.tar.xz'
source_url
'https://www.nano-editor.org/dist/v
3/nano-3.0
.tar.xz'
source_sha256
'
7b8d181cb57f42fa86a380bb9ad46abab859b60383607f731b65a9077f4b4e19
'
source_sha256
'
e0a5bca354514e64762c987c200a8758b05e7bcced3b00b3e48ea0a2d383c8a0
'
binary_url
({
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/nano-2.9.5-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/nano-2.9.5-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/nano-2.9.5-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/nano-2.9.5-chromeos-x86_64.tar.xz'
,
})
})
binary_sha256
({
binary_sha256
({
aarch64:
'127c08b4f613b9beb34f73334b201345eaa6375951da4a9f672fa1f710a519a3'
,
armv7l:
'127c08b4f613b9beb34f73334b201345eaa6375951da4a9f672fa1f710a519a3'
,
i686:
'fd5962055dffc82f039023f7f454873abe76bfa53f51ce87d2e648f813cb8862'
,
x86_64:
'd8d56d3e5cc9e5db5ac312454231886dd327fecc122fb9d91231427eaa294cd8'
,
})
})
depends_on
'filecmd'
depends_on
'filecmd'
...
@@ -31,8 +23,8 @@ class Nano < Package
...
@@ -31,8 +23,8 @@ class Nano < Package
def
self
.
install
def
self
.
install
system
'make'
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
'install-strip'
system
'make'
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
'install-strip'
system
"mkdir -pv
#{
CREW_DEST_
DIR
}
$HOME
"
system
"mkdir -pv
#{
CREW_DEST_
HOME
}
"
system
"touch
#{
CREW_DEST_
DIR
}
$HOME
/.nanorc"
system
"touch
#{
CREW_DEST_
HOME
}
/.nanorc"
end
end
def
self
.
postinstall
def
self
.
postinstall
...
@@ -40,12 +32,10 @@ class Nano < Package
...
@@ -40,12 +32,10 @@ class Nano < Package
puts
"Personal configuration file is located in $HOME/.nanorc"
.
lightblue
puts
"Personal configuration file is located in $HOME/.nanorc"
.
lightblue
puts
puts
open
(
"
#{
ENV
[
'HOME'
]
}
/.nanorc"
,
'w'
)
{
|
f
|
open
(
"
#{
ENV
[
'HOME'
]
}
/.nanorc"
,
'w'
)
{
|
f
|
f
<<
"set autoindent
\n
"
f
<<
"set constantshow
\n
"
f
<<
"set constantshow
\n
"
f
<<
"set fill 72
\n
"
f
<<
"set fill 72
\n
"
f
<<
"set historylog
\n
"
f
<<
"set historylog
\n
"
f
<<
"set multibuffer
\n
"
f
<<
"set multibuffer
\n
"
f
<<
"set nohelp
\n
"
f
<<
"set nowrap
\n
"
f
<<
"set nowrap
\n
"
f
<<
"set positionlog
\n
"
f
<<
"set positionlog
\n
"
f
<<
"set historylog
\n
"
f
<<
"set historylog
\n
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment