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
a8d91b70
Commit
a8d91b70
authored
Jan 16, 2018
by
Damian Montero
Committed by
GitHub
Jan 16, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1643 from uberhacker/add-markdown-package
Add markdown package
parents
584f76ec
087bf421
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
packages/markdown.rb
packages/markdown.rb
+22
-0
No files found.
packages/markdown.rb
0 → 100644
View file @
a8d91b70
require
'package'
class
Markdown
<
Package
description
'Markdown is a text-to-HTML conversion tool for web writers.'
homepage
'https://daringfireball.net/projects/markdown/'
version
'1.0.1'
source_url
'http://daringfireball.net/projects/downloads/Markdown_1.0.1.zip'
source_sha256
'6520e9b6a58c5555e381b6223d66feddee67f675ed312ec19e9cee1b92bc0137'
binary_url
({
})
binary_sha256
({
})
depends_on
'unzip'
=>
:build
depends_on
'perl'
def
self
.
install
system
"sed -i 's,/usr/bin/perl,
#{
CREW_PREFIX
}
/bin/perl,' Markdown.pl"
system
"install -Dm755 Markdown.pl
#{
CREW_DEST_PREFIX
}
/bin/markdown"
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