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
fa668a27
Commit
fa668a27
authored
Oct 26, 2017
by
Alan Hardman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding micro editor
parent
9e4b5544
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
0 deletions
+37
-0
packages/micro.rb
packages/micro.rb
+37
-0
No files found.
packages/micro.rb
0 → 100644
View file @
fa668a27
require
'package'
class
Micro
<
Package
description
'A modern and intuitive terminal-based text editor'
homepage
'https://micro-editor.github.io/'
version
'1.3.3'
source_url
'https://github.com/zyedidia/micro/archive/v1.3.3.tar.gz'
source_sha256
'22256792cd7136996f0b62f0ac789c1d86b4b96a01390058570b4b067592160b'
binary_url
({
armv7l:
'https://github.com/Alanaktion/chromebrew/releases/download/micro-v1.3.3/micro-1.3.3-arm.tar.xz'
,
aarch64:
'https://github.com/Alanaktion/chromebrew/releases/download/micro-v1.3.3/micro-1.3.3-arm.tar.xz'
,
i686:
'https://github.com/Alanaktion/chromebrew/releases/download/micro-v1.3.3/micro-1.3.3-i686.tar.xz'
,
x86_64:
'https://github.com/Alanaktion/chromebrew/releases/download/micro-v1.3.3/micro-1.3.3-x86_64.tar.xz'
,
})
binary_sha256
({
armv7l:
'a33553178de468deee6922b6ddbedd2f7340eece225f143e0514838637220d0f'
,
aarch64:
'a33553178de468deee6922b6ddbedd2f7340eece225f143e0514838637220d0f'
,
i686:
'90ee8680dbde1ef467f32a0c291fd244ada8dc6eb6ac89d8056a3617cfb93251'
,
x86_64:
'7cc32cbc7fccf0e8fd48a2ab38d9e32a0d645dfee69a329c802d1802253ddbab'
,
})
depends_on
'go'
=>
:build
def
self
.
build
system
"go get -d github.com/zyedidia/micro/cmd/micro"
end
def
self
.
install
system
"cd $GOPATH/src/github.com/zyedidia/micro"
system
"make"
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
"install"
end
def
self
.
postinstall
system
"rm -f
#{
CREW_DEST_DIR
}
/{LICENSE,LICENSE-THIRD-PARTY,README.md}"
end
end
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