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
dbc54ebe
Commit
dbc54ebe
authored
Aug 13, 2018
by
Ed Reel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add far package
Add dependencies and run script
parent
4153cda1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
0 deletions
+29
-0
packages/far.rb
packages/far.rb
+29
-0
No files found.
packages/far.rb
0 → 100644
View file @
dbc54ebe
require
'package'
class
Far
<
Package
description
'Search and replace operations on file content across multiple files.'
homepage
'http://findandreplace.sourceforge.net'
version
'2.0.2'
source_url
'https://prdownloads.sourceforge.net/project/findandreplace/findandreplace/2.0.2/FAR-2.0.2-x.tar.gz'
source_sha256
'0b2c796bdcc088be960f15cb4e348f8af62f74afbdacc188c3c101c2f502204d'
binary_url
({
})
binary_sha256
({
})
depends_on
'jdk8'
depends_on
'sommelier'
def
self
.
build
system
"echo '#!/bin/bash' > far"
system
"echo 'cd
#{
CREW_PREFIX
}
/share/far' >> far"
system
"echo './far.sh' >> far"
end
def
self
.
install
FileUtils
.
mkdir_p
"
#{
CREW_DEST_PREFIX
}
/share/far"
system
"cp -r .
#{
CREW_DEST_PREFIX
}
/share/far"
system
"install -Dm755 far
#{
CREW_DEST_PREFIX
}
/bin/far"
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