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
1bea0156
Commit
1bea0156
authored
Oct 19, 2018
by
James Larrowe
Committed by
Ed Reel
Oct 19, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Misc. Nano fixes (#2776)
* Misc. Nano fixes * Added light blue color
parent
2a2e0b28
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
9 deletions
+10
-9
packages/nano.rb
packages/nano.rb
+10
-9
No files found.
packages/nano.rb
View file @
1bea0156
...
...
@@ -3,25 +3,21 @@ require 'package'
class
Nano
<
Package
description
'Nano\'s ANOther editor, an enhanced free Pico clone.'
homepage
'https://www.nano-editor.org/'
version
'3.1'
version
'3.1
-1
'
source_url
'https://www.nano-editor.org/dist/v3/nano-3.1.tar.xz'
source_sha256
'14c02ca40a5bc61c580ce2f9cb7f9fc72d5ccc9da17ad044f78f6fb3fdb7719e'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/nano-3.1-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/nano-3.1-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/nano-3.1-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/nano-3.1-chromeos-x86_64.tar.xz'
,
})
binary_sha256
({
aarch64:
'b104f51c34448e5f20b6f0ab1a446ba85701464e40ed96484ecadeb2fb09c9cb'
,
armv7l:
'b104f51c34448e5f20b6f0ab1a446ba85701464e40ed96484ecadeb2fb09c9cb'
,
i686:
'd187d05f68885e4ce3afb3726d5ab684d4a97f2c67ea3d1b917893db64120fa8'
,
x86_64:
'492bc56f517c1c0c4cc52bdfc210b8b6cd1f072e3da5605f406c99d4be7e11ac'
,
})
depends_on
'filecmd'
def
self
.
patch
system
"sed -i '/SIGWINCH/d' src/nano.c"
end
def
self
.
build
system
"./configure"
,
"--prefix=
#{
CREW_PREFIX
}
"
,
...
...
@@ -39,6 +35,11 @@ class Nano < Package
puts
puts
"Personal configuration file is located in $HOME/.nanorc"
.
lightblue
puts
puts
"To make nano your default editor, execute this:"
.
lightblue
puts
puts
"echo 'EDITOR=nano' >> ~/.bashrc"
.
lightblue
puts
"source ~/.bashrc"
.
lightblue
puts
open
(
"
#{
ENV
[
'HOME'
]
}
/.nanorc"
,
'w'
)
{
|
f
|
f
<<
"set constantshow
\n
"
f
<<
"set fill 72
\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